Hello,

i am using aolserver4 beta8 with my communication driver and i am
receiving many "Bad file descriptor" errors
during communication. Sometimes i get this error from PostgreSQL driver
as well.

While debugging i found out that in driver.c file free socket list
firstSockPtr is not guarded with mutex
every time.
Only in NsSockClose mutex lock is used but in SockAccept and SockRelease
firstSockPtr is used without mutex which may lead
to some bad behaviour.
I am using dual Xeon 2.4 Ghz machine with 3Gb memory with pretty high load.

--
Vlad Seryakov
703 961-5433 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to