Skip to main content


I switched to 2019.12-rc today and since then I have problems with the worker, I use the daemon, but it seems it does not start the worker. Can someone help me trouble shoot this problem?

!Friendica Support #Friendica

For an interim solution I now activated the timer that calls the worker.php every 2 minutes.

I guess the different times are caused by cli and httpd calls, it seems that time/date settings differ based on where the php script is started from.

The lines above I took from the log, for some of the lines there is many occurrences.

@Michael Vogel does this give a hint?

PHP Warning: pcntl_fork(): Error 11 in /srv/www/bin/daemon.php on line 126

@Michael Vogel danke für die Gegenfrage, dann weiß ich jetzt was es ist. m(

The fork() function shall fail if:


[EAGAIN]The system lacked the necessary resources to create another process, or
the system-imposed limit on the total number of processes under execution
system-wide or by a single user {CHILD_MAX} would be exceeded.

https://grokbase.com/t/php/php-general/0652vggx3p/what-means-fatal-error-pcntl-fork-error-11

@Michael Vogel kannst du mir noch eine Kleinigkeit verraten, wie kann ich jetzt sehen ob der daemon läuft, was müsste ich im friendica log sehen?

@Michael Vogel hmm ok, dann klappt es wohl immer noch nicht...

bin/daemon.php status                  
Pidfile wasn't found. Is the daemon running?

Der worker läuft jetzt aber gerade ganz gut.

@Michael Vogel hab mal "sudo killall php" gemacht, aber es kommen direkt wieder worker Prozesse, nicht sicher was die startet, muss ich wohl mal abwarten. Irgendwas mit dem daemon passt noch nicht, ich schaue mal wie sich das jetzt verhält.