Hi everyone!
I'm struggling with some long transactions to generate some reports, and during the longest transactions I get this error: GemStone: Error Nonfatal User defined error, 'bind(4,port=9002) failed with errno=98,EADDRINUSE, Address is already in use' Error Category: 231169 [GemStone] Number: 2318 Arg Count: 2 Context : 895787777 Arg 1: [4050689 sz:4 cls: 110849 Symbol] halt Arg 2: [895787521 sz:76 cls: 74753 String] bind(4,port=9002) failed with errno=98,EADDRINUSE, Address is already in use Now executing the following command saved from "iferr 1": where ==> 1 System class >> signal:args:signalDictionary: @8 line 15 [GsMethod 3264001] 2 System class >> genericSignal:text:args: @6 line 15 [GsMethod 3236353] 3 System class >> genericSignal:text: @2 line 9 [GsMethod 3250433] 4 Object >> halt: @4 line 9 [GsMethod 247084289] 5 Object >> error: @5 line 9 [GsMethod 247084801] 6 FSGsSocketServer >> newServerSocket @12 line 12 [GsMethod 103715585] 7 FSGsSocketServer >> startInForeground @1 line 3 [GsMethod 389054977] 8 FSSeasideHandler class >> startUp: @5 line 6 [GsMethod 104493057] 9 Executed Code @32 line 43 [GsMethod 895776769] [GsProcess 895787777] topaz 1> [268 sz:0 cls: 68097 Boolean] true topaz 1> [Info]: Logging out at 01/12/11 14:46:08 ART Is it related with the fact that the transaction is long? Or could something else cause this error? Thanks! Carla. |
Carla,
The EADDRINUSE is complaining that there is another process that has already opened port 9002. I would expect this error to be thrown immediately at startup when you've just launched the fastcgi gems and could happen if you have some sort of auto restart logic that has gone bad. Another case would be that a topaz process from an earlier test run is lingering around and didn't exit when you expected it to perhaps an earlier gem that was running in the long processing and didn't terminate properly ... I'd use ps and grep for topaz sessions that might be lingering and kill any suspicious processes. Dale On 01/12/2011 10:02 AM, Carla F. Griggio wrote: > Hi everyone! > > I'm struggling with some long transactions to generate some reports, and > during the longest transactions I get this error: > > GemStone: Error Nonfatal > User defined error, 'bind(4,port=9002) failed with errno=98,EADDRINUSE, > Address is already in use' > Error Category: 231169 [GemStone] Number: 2318 Arg Count: 2 Context : > 895787777 > Arg 1: [4050689 sz:4 cls: 110849 Symbol] halt > Arg 2: [895787521 sz:76 cls: 74753 String] bind(4,port=9002) failed with > errno=98,EADDRINUSE, Address is already in use > > Now executing the following command saved from "iferr 1": > where > ==> 1 System class >> signal:args:signalDictionary: @8 line 15 > [GsMethod 3264001] > 2 System class >> genericSignal:text:args: @6 line 15 [GsMethod 3236353] > 3 System class >> genericSignal:text: @2 line 9 [GsMethod 3250433] > 4 Object >> halt: @4 line 9 [GsMethod 247084289] > 5 Object >> error: @5 line 9 [GsMethod 247084801] > 6 FSGsSocketServer >> newServerSocket @12 line 12 [GsMethod 103715585] > 7 FSGsSocketServer >> startInForeground @1 line 3 [GsMethod 389054977] > 8 FSSeasideHandler class >> startUp: @5 line 6 [GsMethod 104493057] > 9 Executed Code @32 line 43 [GsMethod 895776769] > [GsProcess 895787777] > topaz 1> [268 sz:0 cls: 68097 Boolean] true > topaz 1> > [Info]: Logging out at 01/12/11 14:46:08 ART > > > > Is it related with the fact that the transaction is long? Or could > something else cause this error? > > Thanks! > Carla. |
Thanks, Dale. It actually seemed more like a problem when starting the gem than a problem that made the gem die...
We do have an auto restart logic :) Thanks! Carla On Wed, Jan 12, 2011 at 5:00 PM, Dale Henrichs <[hidden email]> wrote: Carla, |
Free forum by Nabble | Edit this page |