Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Jørn
On Tuesday, August 21, 2018 22:51:09 Darryl Philip Baker wrote: > I forgot to add the systemd directive, LimitNOFILE= Which is the number > of file descriptors. Thanks!! I added this under the [Service] section: LimitNOFILE=8192 Then did a $ systemctl daemon-reload $ /bin/systemctl restart http

Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Jørn
On Tuesday, August 21, 2018 22:45:56 Darryl Philip Baker wrote: > Systemd stores the scripts in /lib/systemd/system and /etc/systemd/system. I got that catalog but no scripts to start up the apache web server. Only a config file named httpd.service: # See httpd.service(8) for more information

Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Darryl Philip Baker
I forgot to add the systemd directive, LimitNOFILE= Which is the number of file descriptors. Darryl Baker (he/him/his) Sr. System Administrator Distributed Application Platform Services Northwestern University 1800 Sherman Ave. Suite 6-600 – Box #39 Evanston, IL 60201-3715 darryl.ba...@nort

Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Darryl Philip Baker
Systemd stores the scripts in /lib/systemd/system and /etc/systemd/system. Darryl Baker (he/him/his) Sr. System Administrator Distributed Application Platform Services Northwestern University 1800 Sherman Ave. Suite 6-600 – Box #39 Evanston, IL 60201-3715 darryl.ba...@northwestern.edu (847) 467-

Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Jørn
On Tuesday, August 21, 2018 21:52:34 Darryl Philip Baker wrote: > Have you tried adding a ulimit command to raise the number of open files in > the apache start script or systemd service file? If I only knew where the startup script is. Back in the (good) old days everything was located under /

[users@httpd] Re: Buffer in apache

2018-08-21 Thread Christophe JAILLET
Le 21/08/2018 à 13:50, Hemant Chaudhary a écrit : Hi All, I want to use buffer of 512B in apache . I am using mod_proxy_http to send request to tomcat and have set ProxyIOBufferSize 512. But it is sending message to tomcat with size greater than 512B. How should I control apache in proxy so

Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Darryl Philip Baker
Have you tried adding a ulimit command to raise the number of open files in the apache start script or systemd service file? Darryl Baker (he/him/his) Sr. System Administrator Distributed Application Platform Services Northwestern University 1800 Sherman Ave. Suite 6-600 – Box #39 Evanston, IL

[users@httpd] Re: Special characters in password for mod_dbd

2018-08-21 Thread Christophe JAILLET
Hi, I have no idea why so many separators have been allowed. I googled a bit yesterday, and didn't find anything useful. Most other mysql connectors I've found only use ';'. But it is documented this way since a long time in APR. Removing some separators could break some existing configuratio

[users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Jørn
Hello, I'm struggeling with the maximum number of open files in a php script executed through the apache web server. I have done two tests - one from shell and one through the apache web server. Both tests open as many files as possible in a given folder (named a-1.dat, a-2.dat and s

Re: [users@httpd] Problem setting up ssl

2018-08-21 Thread Stormy
On 2018-08-20 01:38 PM, Mahmood Naderan wrote: [snip] Now, when I open https://w.x.y.z in firefox, I get Your connection is not secure The owner of 5.57.36.104 has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website. > So

Re: [users@httpd] Problem setting up ssl

2018-08-21 Thread Tony DiLoreto
Hi Sander, Nice to meet you. Based on your response here, you seem to be more educated with respect to web security and SSLs. I’m working on developing a startup that eliminates the difficulty obtaining and installing SSL certs. The process is overly complicated and ripe for disruption. If this

[users@httpd] Basic question about https

2018-08-21 Thread Mahmood Naderan
Hi, It is possible to have http://sub.somewhere/portal1 and https://sub.somewhere/portal2 For that, I have to define a document root in 000-default.conf and an entry for portal1 and then define an entry for portal2 in default-ssl.conf. Is that a valid configuration? Or I have to define all direct

Re: [users@httpd] Problem setting up ssl

2018-08-21 Thread Mahmood Naderan
>This is because SSL-certs require domain names and don't work properly >with 'bare IP addresses'. You'll never get that fixed unless you start >using a domainname and a correct certificate (LetsEncrypt for example). Thank you very much for the help. Regards, Mahmood

[users@httpd] Buffer in apache

2018-08-21 Thread Hemant Chaudhary
Hi All, I want to use buffer of 512B in apache . I am using mod_proxy_http to send request to tomcat and have set ProxyIOBufferSize 512. But it is sending message to tomcat with size greater than 512B. How should I control apache in proxy so that it will send message and receive with max buffer

Re: [users@httpd] Problem setting up ssl

2018-08-21 Thread Sander Smeenk
Quoting Mahmood Naderan (nt_mahm...@yahoo.com.INVALID): > >Is default-ssl site "enabled" via the debian/ubuntu tools e.g. a2ensite? > # a2ensite default-ssl > Enabling site default-ssl. Well, there ya go. > Now, when I open https://w.x.y.z in firefox, I get > Your connection is not secure This

Re: [users@httpd] Problem setting up ssl

2018-08-21 Thread Sander Smeenk
Quoting Mahmood Naderan (nt_mahm...@yahoo.com.INVALID): > root@webshub:~# grep IfModule /etc/apache2/sites-available/default-ssl.conf > # > # Ok. > root@webshub:~# apachectl -S > AH00558: apache2: Could not reliably determine the server's fully qualified > domain name, using 127.0.1.1. Set the

Re: [users@httpd] Apache HTTPD not responding after running for several days

2018-08-21 Thread Eric .
Hi Eric, Thanks for the info. Since Apr-1.6.4, which should contain the patch, is not yet available as a stable release, I'll try even older Apr versions. I'm not sure whether it is a problem of Apr. Thanks. Regards, Eric On Mon, 20 Aug 2018 at 19:34, Eric Covener wrote: > On Mon, Aug 20,

Re: [users@httpd] Re: Special characters in password for mod_dbd

2018-08-21 Thread Mimiko
Thank you I was looking for such info and didn't found. Why so much chars left for params split? Should I fire a request or this will not be changed in future by concept? On 20.08.2018 22:14, Christophe JAILLET wrote: This seems to be mysql APR driver specific. For some reasons, in APR, in