Find Jobs
Hire Freelancers

UBUNTU - ReInstall My PHP/Apache to allow FD_SETSIZE = 70000

$15-25 USD / hour

În desfășurare
Data postării: circa 11 ani în urmă

$15-25 USD / hour

DON'T BID UNLESS YOU READ ALL, ESPECIALLY LAST 3 LINES Edit typesizes.h and posix_types.h and set #define _FD_SETSIZE to 65536 and edit [login to view URL] to add the line "ulimit -n 32768 #" above the line "# Source function library" and recompile 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 [login to view URL] file (/etc/security/[login to view URL]), 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/[login to view URL] 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
ID-ul proiectului: 4439700

Despre proiect

4 propuneri
Proiect la distanță
Activ: 11 ani în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte
Acordat utilizatorului:
Avatarul utilizatorului
This is fixable; See PMB for clarification questions.
$75 USD în 1 zi
4,9 (2 recenzii)
2,6
2,6
4 freelanceri plasează o ofertă medie de $35 USD/oră pentru proiect
Avatarul utilizatorului
Best quality work will be provided
$25 USD în 5 zile
5,0 (4 recenzii)
2,8
2,8
Avatarul utilizatorului
I have over 10+ Years of experience with Linux , Unix Servers, Data centers and VMware ESXi expertise. I can do this project. Lets get started
$20 USD în 5 zile
0,0 (0 recenzii)
0,0
0,0
Avatarul utilizatorului
Hello Sir, I can do this task.
$18 USD în 20 zile
0,0 (0 recenzii)
0,0
0,0

Despre client

Steagul UNITED STATES
GoAway, United States
4,2
3
Metoda de plată a fost confirmată
Membru din apr. 12, 2013

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.