Smell the Coffee

mako132 on 2002-06-19T03:40:01

Got the jitters taste-testing our new office coffee maker. You know, you just can't please everyone - but I think part of fun of going to work is complaining about the coffee.

Meanwhile, some Net::Server and Jabber coding. Along the way, an upgrading of Xemacs.


Net::Server

djberg96 on 2002-06-19T04:48:55

Just in case you didn't know, there already is a Net::Server module, written by Paul Seamons.

While others have had luck with it, I haven't. Within 5 minutes of using the fork personality I discovered a race condition. Paul is aware of it, but has yet to fix it. I had serious problems using any of the personalities except for the 'basic' one.

Just my .02.

Re:Net::Server

mako132 on 2002-06-19T13:46:35

Whoops, my bad grammar. I meant "coding with Net::Server".

I think what I'm doing is pretty basic, with maybe only 100 forks expected per day. I'm using the 'fork' personality.

Re:Net::Server

djberg96 on 2002-06-19T14:06:04

I'm using the 'fork' personality

Do you have a log set up? If so, do a tail -f on it while you have your server running. You'll know you've hit the race condition if you see this:

"Can't use an undefined value as a symbol reference at /usr/local/lib/perl5/site_perl/5.6.1/Net/Server.pm line 612

Re:Net::Server

mako132 on 2002-06-20T00:07:18

Shoot, I see that error message daily when I program in Perl :-) I thought it's because my code is for sh*t.

Thanks for the info. It's money!