RE: [PHP] operational musings



On Wed, February 28, 2007 3:32 pm, Bob Dusek wrote:
Is there a well-known bug I'm up against with the IPC socket pair?
....
aren't sockets supposed to be two-way communication?

Put it this way...

If my memory serves me correctly, and understanding that I'm talking
about several years of list reading/posting boiled down to a couple
paragraphs, and my memory HAS proven faulty in the past...

I tried to do 2-way sockets and failed, filed a bug report, had it
marked as bogus, and used 2 one-way sockets and went on with life.

Others have posted problems in this same area, switch to 2 one-way
socket, and posted "hey, it works!"

Still others have had problems with sockets just up and dying no
matter what, however, so there is no promise it will work. Only a
better chance.

I have NO IDEA what the new-fangled socket pair thingie is, how it
works, how it's supposed to work, or if it's even implemented any
different than just 2 one-way sockets, and I'm just asking you to
waste your time doing in PHP what is already failing in C.

But it should take you, what?, 5 minutes to try it and find out if
it's better/worse? Okay, call it a day by the time you get done
fixing typos and silly mistakes and really get down to a real test.
Plus another 4 days to be convinced it really really works, or that
the failure is consistently bad enough to be a true problem.

For a true check on known problems, surf to http://bugs.php.net

Way better than my memory, that's for sure. :-)

--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
.



Relevant Pages

  • Re: how to wait for socket communications
    ... the JVM when the Java program gets closed, and ending up with memory leaks. ... Unfortunately, in connection with getting advised not to use sockets, my ... in this context as memory allocation technique, not file I/O. ...
    (microsoft.public.win32.programmer.networks)
  • Re: PowerPC or PARISC?
    ... Don't forget that with Opteron even *local* memory accesses require ... the number of sockets. ... If you had bothered to look at the context in which Rob made the statement to which I replied, you would have found that it was that of snoop *responses* from CPUs. ...
    (comp.arch)
  • Re: PowerPC or PARISC?
    ... Don't forget that with Opteron even *local* memory accesses require ... the number of sockets. ... number of CPU cores. ...
    (comp.arch)
  • Re: open fd management
    ... >> number of sockets this process has open. ... >> have an file descriptor associated with it or does it only get the file ... > performance as the number of entries increases. ... Memory is more manageable - I can readily detect my app's own ...
    (comp.unix.programmer)
  • Re: Garbage Collection - Strange Results.
    ... > writes/reads/connects via TCP Sockets. ... > When I look in Windows Performance Monitor and under .NET Memory ... > is why is .NET or all Profilers such as ANTS .NET profiler report ... into Gen2 and as such preventing compactation of the heap. ...
    (microsoft.public.dotnet.framework.clr)