dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 441 forks source link

Daemon seems to freeze every couple of weeks #1263

Open rbaarsma opened 7 years ago

rbaarsma commented 7 years ago

I've been using PHPCI on multiple environments and with different versions now and I love it. The only problem is that every once in a while the daemon just does nothing anymore.

I start the daemon with this command:

nohup php ./daemonise phpci:daemonise >/dev/null 2>&1  &
``

When it's not working anymore it still shows up as a process:
```sh
27692 ?        S     17:01 php ./daemonise phpci:daemonise

At this point any new builds indefinitely stay at "-" (not started). Once I kill this process and start it again with the command above it starts directly.

Obviously I expect the daemon to keep working even if it is running for an entire year..

Current env: PHPCI 1.7.1 (upgraded from older version last week, but still has the same problem) php 7.0.10 Running CentOS release 6.8 (Final) on VPS mysql Ver 14.14 Distrib 5.6.32, for Linux (x86_64) using running as root

Also keeps happening on other env: PHPCI 1.5.* (not sure) PHP 5.6.19 CentOS release 6.7 (Final) on VPS mysql Ver 14.14 Distrib 5.5.48, for Linux (x86_64) using readline 5.1 running as restricted user

Not sure where I could find any logs to help.. let me know and I"ll find them.

ptejada commented 7 years ago

Hi Rein,

Do you have any type of logging handlers as described on this page?

https://github.com/Block8/PHPCI/wiki/Logging

Also note that only one build at a time is ran by the daemon.

On Mon, Sep 19, 2016, 4:52 AM Rein Baarsma notifications@github.com wrote:

I've been using PHPCI on multiple environments and with different versions now and I love it. The only problem is that every once in a while the daemon just does nothing anymore.

I start the daemon with this command:

nohup php ./daemonise phpci:daemonise >/dev/null 2>&1 &``

When it's not working anymore it still shows up as a process:```sh27692 ? S 17:01 php ./daemonise phpci:daemonise

At this point any new builds indefinitely stay at "-" (not started). Once I kill this process and start it again with the command above it starts directly.

Obviously I expect the daemon to keep working even if it is running for an entire year..

Current env: PHPCI 1.7.1 (upgraded from older version last week, but still has the same problem) php 7.0.10 Running CentOS release 6.8 (Final) on VPS mysql Ver 14.14 Distrib 5.6.32, for Linux (x86_64) using running as root

Also keeps happening on other env: PHPCI 1.5.* (not sure) PHP 5.6.19 CentOS release 6.7 (Final) on VPS mysql Ver 14.14 Distrib 5.5.48, for Linux (x86_64) using readline 5.1 running as restricted user

Not sure where I could find any logs to help.. let me know and I"ll find them.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Block8/PHPCI/issues/1263, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPd3cR6FIjtSOzXjAuC4vKTqX6dqyG4ks5qrk1YgaJpZM4KAQqA .

Sincerely,

Pablo Tejada

From Mobile