Reply to Re: About Resource id's

Your name:

Reply:


Posted by Michael Fesser on 10/27/07 23:36

..oO(Jerry Stuckle)

>Michael Fesser wrote:
>> .oO(Jerry Stuckle)
>>
>>> DiAvOl wrote:
>>>
>>>> I am running a stream_select server which actually runs forever
>>>> (daemon mode) and I worried because the Resource id number is around
>>>> 29000 so far and I don't know what happens if that number increases
>>>> forever. Another reason for asking is because maybe someone have read
>>>> the source code and knows better about it.
>>> So? Do you think it's going to run for years without a server reboot?
>>
>> Possible.
>
>No, Micha, it isn't in the real world. But maybe it is in your fantasy
>land.

Servers _can_ run for years unless there's a hardware failure or a
kernel update.

>Or are you just trolling again?

I never did.

>I suspect that's the case.

Sure you do. I would be really surprised if it would be any different.
BTW: You still didn't answer my latest questions from the other threads.

>> Just think of older Windows versions - without reboot they crashed after
>> 49 days because of an internal integer overflow. But I really think that
>> the PHP interpreter is capable of handling such things and clever enough
>> to re-use free resource IDs if necessary.
>
>So what if Windows crashed after 49 days? And do you KNOW the PHP
>interpreter can handle it? Can you point to the code? Or are you just
>guessing - as usual?

I was just posting my opinion and you're offending me again without any
reason. Forgot your pills again?

>>> How long has it been running to get to 29K?
>>
>> I was about to ask a similar question. And even if PHP would just
>> increase the number - what about the "natural" limits? A 32bit signed
>> integer is more than 2*10^9, unsigned it's twice as big (I simply assume
>> PHP doesn't use just 16bit words ...)
>
>It was a rhetorical question, Micha. And instead of guessing, why don't
>you find out? It's not that hard to prove.

Why should I? I'm not the OP, I don't have that "problem". I just
pointed out that it might not be a problem at all.

But I don't expect that you understand that. Just keep on going
insulting me, if you have nothing better to do.

Micha

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация