Reply to Re: About Resource id's

Your name:

Reply:


Posted by Jerry Stuckle on 10/28/07 13:20

DiAvOl wrote:
> Even if the server won't run for too long (I have 300+ days uptimes on
> my servers), the program must be written as if it would, imho.
> I have a Resource Id of ~29000 in about 1 day, because the php server
> opens and closes files all the time - apart from the user connections
> - and the id keeps growing. Anyway, I think noone can answer what
> happens if the number reaches the MAX_LONG which is 32bit on my system
> without looking at the source code first.
>
> Thanks for your replies
>
>

OK, 29K resources in 1 day. That means it will take a little over 202
years for your program to reach the maximum size of a signed 32 bit integer.

Now - do you really think your program will be running in 200 years?
And if it is, do you really think it will be running on a 32 bit platform?

There are much more important things to worry about in your scripts.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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