Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-13, 00:15:34

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Xopop

Pages: [1]
1
Kloxo-MR Technical Helps / Re: sos telnet slave-id 7779
« on: 2014-03-26, 07:15:42 »
that I have the same problem ... I've had it before, but with the `fix-all` worked. Please help if anyone knows what it is. thank you.

version Kloxo-MR 6.5.0.f-2014020301

2
Change to something like 'FastCGIExternalServer "/home/kloxo/httpd/webmail/webmail.dev.potissima.com.0fake" -socket /home/php-fpm/sock/apache.sock -idle-timeout 180'


This is where the?

3
FastCGI has the following configuration

 FcgidIOTimeout 40
        FcgidConnectTimeout 10
        FcgidMaxProcesses 8
        FcgidOutputBufferSize 64
        ProcessLifeTime 240
        FcgidMaxRequestsPerProcess 500
        FcgidMinProcessesPerClass 0
        FcgidMaxRequestLen 15728640

I've changed

 FcgidIOTimeout 400
 FcgidConnectTimeout 100

and nothing changes

whether there may be a strict path where I could look? Or whether there is a configuration server where a PHP script will be able to have the execution to the end and not a limited time?

4
for proxy I found the settings (vi /home/nginx/conf/globals/proxy.conf)

  proxy_connect_timeout 180s;
     proxy_send_timeout 180s;
     proxy_read_timeout 180s;
     # proxy_buffers 32 4k;
     proxy_buffers 8 128k;
     proxy_buffer_size 128k;

but nowhere can I find timeout 30 seconds.

It's really a problem when you have a PHP script execution for more than 29 (30) seconds

5
where the proxy change timeout?

for php-fpm /etc/php-fpm.d but proxy do not know.

Thanks in advance

6
I read that the problem may be with FastCGI. Is it possible that there are some settings for FastCGI to increase the timeout?

7
for a time of 30 seconds, returns the same 500

for a period of 20 seconds gives the execution of PHP scripts ...

I do not know what the problem really because the execution time of PHP was increased to 180 seconds and throws an error after exactly 30 seconds.


Final time:
Limit the time for execution is 29 seconds ...

8
Hi

I have a problem I can not solve it, so if you can help me I would be very grateful.

I have a php script that reads sleep

`<?php
echo date('h:i:s') . "RADI NE RADI?<br>";

//sleep for 180 seconds
sleep(180);

//start again
echo date('h:i:s');
?>`

She is testing php execution time, but does not apply the rule that I gave in php settings than me timeout after 30 seconds.

Server is nginx-proxy php 5.4.23. php Type php is php-fpm I changed the time in PHP. Changed during the execution of the php-fpm but I still throws error 500 in the browser.

Thank you for your response

9
Kloxo-MR Technical Helps / Re: php script
« on: 2013-04-18, 20:27:58 »
Quote from: "goblog"
If you will use nginx as proxy
You can choose in webserver
But, if you still got 504 bad gateway try run
 sh /script/fixweb; sh /script/fix-chownchmod
Then tru to restart service sh /script/restart-services

still not working 504 error: (
Apache works fine but I have a problem with Apache about the slow load nginx is much faster. If you can give me a suggestion which parameters to change because I measured the time after 60 seconds throws 504 error.

10
Kloxo-MR Technical Helps / Re: php script
« on: 2013-04-16, 23:51:23 »
Apache is working on. but as I start I wanted to WordPress ngins if you can? apache use to much resurse (ram and cpu) and page load it`s to long...

11
Kloxo-MR Technical Helps / Re: php script
« on: 2013-04-16, 16:45:26 »
My confing is

A. Kloxo-MR: 6.5.0.f-2013031809

B. OS: CentOS release 5.9 (Final) i686

C. Apps:
   1. MySQL: mysql-5.0.95-5.el5_9
   2. PHP: php53u-5.3.23-1.ius.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.15-2.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
   7. Dns: bind-9.9.2-3.P2.el5

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           928        580        348          0          0          0
   -/+ buffers/cache:        580        348
   Swap:            0          0          0

I do not know which parameter to change to be executed by the end of the crypt that does not eject

504 Gateway Time-out
nginx/1.3.15

12
Kloxo-MR Technical Helps / Re: php script
« on: 2013-04-16, 16:13:17 »
Sorry for the incomplete information. The point is that you want to do some php script that has a running time longer than 180 seconds my browser constantly throws error

504 Gateway Time-out
nginx/1.3.15.

Would you please help me and tell which is the parameter in question. I installed the latest version Kloko everything works only with the execution of this php script is the problem.

13
Kloxo-MR Technical Helps / php script
« on: 2013-04-16, 15:38:50 »
I have a problem

I want to run a cron job through the command /usr/bin/curl http://www.url.com/dir/file.php , but after a while cron job stops working. When I wanted to run a php file via the link after 60 seconds throws error 504 Server is nginx and how to increase the time of php script.

ps. sorry for the bad English, and if there's a subject I'm sorry but I have not found

Pages: [1]

Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.038 seconds with 21 queries.

web stats analysis