Camelia, the Perl 6 bug

IRC log for #ilbot, 2013-06-11

| Channels | #ilbot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
05:34 moritz bshum: you can adjust the number of processes in the virtual host config
05:35 moritz http://www.fastcgi.com/mod_fastcgi/​docs/mod_fastcgi.html#FastCgiServer   -processes 8  or so
14:20 bshum moritz: I'll give that another shot.  I know that we were using "- processes 3" or such.
14:21 moritz bshum: if you had a space after the - it might have caused problems :-)
14:22 bshum Oh, uh... of course :P
14:22 bshum Double checked that and no there is no space in the actual apache config file.
14:25 moritz bshum: also newish ilbot is written with Plack/PSGI backend, and there are lots of ways to deploy that, not only fastcgi
14:26 moritz the plack folks recommend Starman as a stand-alone, pre-forking server
14:26 moritz and if you want to incorporate it into an apache, let apache serve the static files, and use mod_proxy to forward the dynamic requests to starman
14:32 bshum moritz: Hmm, thanks, I'll take a look at that sometime in the next couple days.
14:32 bshum I did finally find an error in my log files
14:32 bshum FastCGI: server "/var/www/ilbot/www/ilbot.fcgi" stderr: DBD::mysql::st execute failed: MySQL server has gone away at /var/www/ilbot/lib/Ilbot/Backend/SQL.pm line 73.
14:33 bshum Not sure it means much quite yet.
14:33 bshum But it has me wondering if it's just something oddly misconfigured on this particular server.
14:34 moritz the problem is probably that the fastcgi server keeps a database handle open, for performance reasons
14:35 bshum Aha.
14:35 moritz and when it doesn't get any requests for ~5 minutes, mysql times out the connection
14:35 moritz it's a problem I don't have, because spiders and realy users permanently hit my site
14:35 moritz so I have to come up with a good solutioin to that
14:37 moritz I should probably set mysql_auto_reconnect = 1 or something
14:44 bshum Hmm

| Channels | #ilbot index | Today | | Search | Google Search | Plain-Text | summary