Hi, list! I keep a custom log file in my wsapi.fcgi handler and I need to handle SIGUSR1 to reopen the file, so it could be rotated. (Actually, any other sane method would do, not necessary SIGUSR1.)
I setup a signal handler with lua-signal. But it gets called only when my wsapi handler receives next request from user. Presumably this is because lua-signal sets a Lua hook to run the handler on the first VM instruction — and no Lua VM instructions are executed while wsapi does a blocking read from fcgi. I, of course, need my signal to be handled ASAP, as user input may be received way too late. Any hints on how can I workaround the problem? Alexander. _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/