Possible portrange.randomized problems?

freebsd-question at premsoft.co.za freebsd-questions at premsoft.co.za
Wed Jun 2 09:57:42 GMT 2004


Mike Silbersack typed on a keyboard not too far away, on 6/2/2004 9:44 AM:

>I've been informed that there have been some reports of problems with
>MySQL connections failing due to randomized ephemeral ports.  If you're
>one of the people affected, could you check a few things and then contact
>me?
>
>Things to check:
>
>1.  Are the stuck sockets / failing connections sticking in the SYN_SENT
>state?
>
>2.  Does the range of ports in use look like it's relatively random, or do
>you see only a small amount of your portrange being used?  (The portrange
>is 1024 to 5000 by default.)
>
>3.  Does setting net.inet.ip.portrange.randomized=0 solve the problem for
>you?
>
>Thanks,
>
>Mike "Silby" Silbersack
>_______________________________________________
>freebsd-stable at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
>  
>
Oh, sorry, I forgot to mention my MySQL error log:
040602 11:50:08  Aborted connection 18214 to db: 'vpopmail' user: 
'vpopmail' host: `localhost' (Got an error reading communication packets)
040602 11:50:52  Aborted connection 18215 to db: 'vpopmail' user: 
'vpopmail' host: `localhost' (Got an error reading communication packets)
040602 11:51:06  Aborted connection 18216 to db: 'vpopmail' user: 
'vpopmail' host: `localhost' (Got an error reading communication packets)
040602 11:51:35  Aborted connection 18217 to db: 'vpopmail' user: 
'vpopmail' host: `localhost' (Got an error reading communication packets)
040602 11:52:56  Aborted connection 18220 to db: 'vpopmail' user: 
'vpopmail' host: `localhost' (Got an error reading communication packets)

My logs are filling up with those. :/
Can this somehow be hardware related?




More information about the freebsd-stable mailing list