İptal Edildi

Recompile My PHP to allow FD_SETSIZE @ 70000

DON'T BID UNLESS YOU READ ALL, ESPECIALLY LAST 3 LINES

First - I run PHP scripts for a living, but I do not program in PHP, I understand the basics barely. I run Ubuntu LINUX, but I also am a beginner in that as well. So we'll clarify, I'm a noob.

I run one of my PHP scripts (that opens many listening ports) and I immediately get an error - it says

PHP Warning: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1024. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.

Machine Specs -

HP Pavilion w/A8 Quad Core processor

Ubuntu 12.10 64 bit

Memory 8 GB

Disk Space 500 GB

I edited the [url removed, login to view] file (/etc/security/[url removed, login to view]), and added the following:

* hard nofile 70000

* soft nofile 70000

Running ulimit -a returns

core file size (blocks, -c) 0

data seg size (kbytes, -d) unlimited

scheduling priority (-e) 0

file size (blocks, -f) unlimited

pending signals (-i) 57302

max locked memory (kbytes, -l) 64

max memory size (kbytes, -m) unlimited

open files (-n) 70000

pipe size (512 bytes, -p) 8

POSIX message queues (bytes, -q) 819200

real-time priority (-r) 0

stack size (kbytes, -s) 8192

cpu time (seconds, -t) unlimited

max user processes (-u) 57302

virtual memory (kbytes, -v) unlimited

file locks (-x) unlimited

Somewhere, PHP is setting a 1024 limit - I need this increased to 70,000

My php also throws an error

"Undefined offset: # in /home/socksystem/[url removed, login to view]

And I assume this is related - Correcting FD_SETSIZE SHOULD fix this, but if not, I need you to take a look at it.

(Note - I have these scripts on another machine and they work. I addressed this issue previously, but I forget what I did to fix it.)

PLEASE ONLY BID IF YOU ARE A PHP EXPERT AND YOU ARE FAMILIAR WITH THIS ERROR.

DO NOT BID IF YOU THINK YOU CAN FIGURE OUT HOW TO FIX IT.

ONLY BID IF YOU ALREADY KNOW HOW TO FIX IT

Beceriler: MySQL, PHP, Yazılım Mimarisi

Daha fazlasını görün: php fd_setsize, warning socket_select must recompile php larger value fd_setsize, must recompile php larger value fd_setsize, soft program, work at home data processor, u.s. pipe, r architecture, php is, order processor work home, n.e.w. work at home, m.v.m. security, m.r.i. software, how to set a bit, q-bit, seg, q-v, hp ubuntu, fd, core value, php priority, pipe error, program look scheduling, run ubuntu, work core php, unlimited virtual set

İşveren Hakkında:
( 3 değerlendirme ) GoAway, United States

Proje NO: #4437342

4 freelancer bu iş için ortalamada 23$/saat teklif veriyor

Voyageinfo

Dear Sir, we are in TOP 1000 freelancer among the 7000000...please check PMB. Thanks Voyage Team

25$ USD / saat
(11 Değerlendirme)
4.5
evidcomm

Ready to start now..Many thanks..

15$ USD / saat
(10 Değerlendirme)
4.0
jdksl

Give me some more details if you can online. We can close it within ah hour.

31$ USD / saat
(1 Değerlendirme)
2.4
napster12

Hi sir, i can help you to rebuild Apache with Higher FD_SETSIZE. If you are interested, then message me. thanx

22$ USD / saat
(0 Değerlendirme)
0.0
muhammadashraf75

Hi, I can solve your problem. need few details of system, check PM

22$ USD / saat
(0 Değerlendirme)
1.1