JDaemon signals

65 views
Skip to first unread message

Dustin Clute

unread,
Aug 8, 2011, 5:37:35 PM8/8/11
to Joomla! Framework Development
I have been playing with JDaemon and found that it kept dying on me in
the function setupSignalHandlers(). It kept failing on the signal
SIGBABY. I did some google searching and couldn't find any reference
to the signal other then JDaemon and the php pear class System
Daemon.

The signal that it was passing was 0 I would suggest either possibly
remove the signal or just check that a signal isn't 0 before trying to
use pcntl_signal to assign a signal handler.

Thanks,
Dustin

Dustin Clute

unread,
Aug 8, 2011, 5:42:39 PM8/8/11
to Joomla! Framework Development
Also, I am running this on Ubuntu 11.04 64 bit.

Dustin

elin

unread,
Aug 9, 2011, 11:19:56 AM8/9/11
to joomla-dev...@googlegroups.com
Dustin,

You could do a fork on github to make this change, but it also sounds like this needs a test.

Elin

V K

unread,
Aug 9, 2011, 12:08:37 PM8/9/11
to joomla-dev...@googlegroups.com
Ya I had already conveyed Google Developers on the Issue and I am too in the team handling the application core mentanance so please hold for a time let me confirm the issue Status and resolvement so that we could firther develope the application in the scalable environment

--
You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-framework/-/MGkp-DQYlPEJ.

To post to this group, send an email to joomla-dev...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-frame...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-framework?hl=en-GB.



--
Sent Via: Blackberry (AT&T)

Dustin Clute

unread,
Aug 9, 2011, 12:44:49 PM8/9/11
to Joomla! Framework Development
I just created two branches.

This is just a simple daemon.php that extends JDaemon and crashes for
me.
https://github.com/dusto/joomla-platform/tree/JDaemon

This is the same daemon.php with a change to setupSignalHandlers() in
JDaemon that runs fine for me.
https://github.com/dusto/joomla-platform/tree/fix

If you need to they are available to look over what I was doing.

Dustin
> *Sent Via: Blackberry (AT&T)
> *

elin

unread,
Aug 20, 2011, 3:11:42 PM8/20/11
to joomla-dev...@googlegroups.com
Dustin,

Would you want to send a pull request for that?

Elin
Reply all
Reply to author
Forward
0 new messages