[erlang-questions] How to introspect atom table?
Wed Nov 21 05:37:13 CET 2012
Ok, there are two ways:
1) tell php programmer to change connect to pconnect in his buggy and
horrible piece of php code and take a look at what will happen
2) tell php programmer truth about his piece of software and advice him to
completely rewrite this subsystem
First is easier a bit.
On Wednesday, November 21, 2012, Richard O'Keefe wrote:
> On 21/11/2012, at 3:19 AM, Max Lapshin wrote:
> > # Max Lapshin 2012-11-20:
> > > But there are only 32 000 of possible pids in unix, so it will limit
> > > of different names.
> > I'm curious -- do you have a reference for this limit? POSIX doesn't
> seem to
> > define pid_t range.
> > No, of course =)
> > But I haven't ever seen 32 bit pid, so it is ok for this case.
> An actual transcript from the machine I am typing this on.
> m% ps -a
> PID TTY TIME CMD
> 25493 ttys000 0:00.10 login -pf ok
> 25494 ttys000 0:00.64 -bash
> 39476 ttys000 1:52.02 find /home/cshome/o/ok -name pperl.c -print
> 70511 ttys000 0:00.04 view UNPACK.S
> 25500 ttys001 0:00.01 login -pfq ok /usr/bin/ssh frege
> 25501 ttys001 0:03.10 -ssh frege
> 40195 ttys002 0:00.10 login -pf ok
> 40196 ttys002 0:00.88 -bash
> 83669 ttys002 0:00.32
> 55602 ttys003 0:00.03 login -pf ok
> 55603 ttys003 0:25.55 -bash
> 86257 ttys003 0:00.00 ps -a
> 59007 ttys004 0:00.02 login -pfq ok /usr/bin/ssh ok@REDACTED
> 59008 ttys004 0:00.90 -ssh ok@REDACTED
> Almost all of those Unix pids exceed 32,000.
> Two of them even exceed 16 unsigned bits.
> This is a 4 GiB machine with a single user.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions