Al 26/05/2011 10:16, En/na Luca Olivetti ha escrit:
> Al 26/05/2011 9:27, En/na Ludo Brands ha escrit:
>
>
>> Regarding the virus, take a look at this:
>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5069989 . The short
>> version: if an application spawns another process, the process inherits also
>> the socket handle. The socket isn't closed until both processes quit or
>> release the socket. I've seen somewhere a demo of the problem where an app
>> launches notepad, closes a socket and quits. The socket remains open as long
>> as notepad runs!! Running an app from in an IDE or debugging environment
>> could also lead to this type of problem.
>
> That's probably it, thank you!
> I spawned a console (cmd) from the application, and I kept it open when
> the application terminated.
> (though I tried to do the same on my pc with a simple application and I
> cannot reproduce the issue).

With the "real" application I see the same, so I'm now sure that's the 
problem.
I tried to set InheritHandles to false but it had no effect.

Note that my pc correctly sends the keepalives every 10 seconds (not 
every second like on the "suspect" pc), both with the test application 
and with the real one.
Mmmmh, there's something fishy going on :-(

Bye
-- 
Luca


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to