Extending Max Execution Time

May 27, 2009

I am trying to run a php script on our server to split a very large file. As a result of the file size the script is timing out with this error:

Fatal error: Maximum execution time of 30 seconds exceeded in [url]on line 155

How can I extend the server execution time to the script can complete? I have cpanel with WHM installed.

View 8 Replies


ADVERTISEMENT

Maximum Execution Time .. In My Vps

Aug 21, 2008

i always get :-

Fatal error: Maximum execution time of 30 seconds exceeded in /home/ante/public_html/me/classes/http.php on line 418

Warning: fclose(): supplied argument is not a valid stream resource in /home/ante/public_html/me/classes/other.php on line 145 

when i try upload big files (up 140mb to my vps using RapidLeech
and here my php.ini
[url]
i chnaged the php.ini to the new value and restart http only

my vps info
safe mod : on
Operating system: Linux
PHP version: 5.2.5
Apache version: 1.3.41 (Unix)

View 4 Replies View Related

Server Issues / Execution Time

Feb 21, 2008

During the last couple of weeks my main server has started acting weird.

Sometimes(often) when accessing my site, I get a page saying that server or location could not be found. Reload and "bam" page loads again. Average load on the server is 0.50

When executing scripts (I.E uploading files using web2ftp or cp file manager) server shuts the connection after a few seconds and say page cannot be found.

I set the execution time in php to 60sec, so this is not the issue.

When I ping the server, I do not get any packet losses.

View 4 Replies View Related

Fatal Error: Maximum Execution Time Of 30 Seconds Exceeded

Feb 5, 2007

while i am restoring db (110MB) via SSH following error occur

Code:
ERROR 1064 (42000) at line 145689: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
Fatal error: Maximum execution time of 30 seconds exceeded in ' at line 1

View 12 Replies View Related

Plesk 11.x / Linux :: Importing To MySQL Database - Maximum Execution Time

Nov 5, 2014

I have this error when i put import to mysql database

Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<script></script><p>ERROR: Maximum execution time of 300 seconds exceeded (Util.' at line 244

I have in domain > doemainname >
max_execution_time
Standaard
Geef een aangepaste waarde op 0

and insert in
usr/local/psa/admin/htdocs/domains/databases/phpmyadmin in the file config.sample.inc.php following command
$cfg['ExecTimeLimit'] = 70000;

but it will not work...

View 2 Replies View Related

PHP Execution Lags / Installation

Jul 6, 2009

problem on some big DB driven sites in PHP.

Lets say I have a file, doesnt even need to have any PHP functions in the document, could be just pure CSS / images. Say I have a copy of this file named something.html and a copy named something.php, the php one takes about 5 times longer to load than the html page. You can see 90% of the page loads and then it sticks with the loading bar nearly fininshed, waits a while and then pings to finished and the remaining parts of the site load (usually footer links etc).

This has me stumped, even has my hosts stumped. Would any one have any idea why this may happen? Something to do with the installation directory of PHP or location of php.ini?

This is on a Windows 2003 machine running IIS6, I have tested the same files on a Linux installation and its perfectly fine.

View 4 Replies View Related

Why Can't Umask Set Execution Privs On Files

Dec 6, 2007

Before this thread happens, don't tell me to chmod the file to have execution privs. I want umask to work properly, with no seperarate chmod required.

For some reason, on every single system i've tested this on, linux, freebsd, vps, standalone server, fresh install of operating system, any time I test this, it ends up with the same issue.

Running `umask 000` should result in files created from that point on having a chmod of rwxrwxrwx. However, they always end up having a chmod of rw-rw-rw.

If I create a directory after setting the same umask setting, the directory ends up with rwxrwxrwx.

Code:
root@bonkers[/usr/local/etc/php/umask] $ umask 000
root@bonkers[/usr/local/etc/php/umask] $ touch 000
root@bonkers[/usr/local/etc/php/umask] $ mkdir d0
root@bonkers[/usr/local/etc/php/umask] $ ls -la
total 10
drwxrwxrwx 5 root wheel 512 Dec 6 03:31 .
drwxr-xr-x 4 root wheel 512 Dec 6 03:21 ..
-rw-rw-rw- 1 root wheel 0 Dec 6 03:31 000
drwxrwxrwx 2 root wheel 512 Dec 6 03:21 d0

View 10 Replies View Related

Cacti Command Execution And SQL Injection Vulnerabilities

Jan 14, 2007

Cacti version 0.8.6i has vulnerability: [url]

Solution: [url]

View 2 Replies View Related

Apache :: Disabling Re-Execution On Fail-Recovery

Jun 4, 2014

At times as I'm developing, due to some coding error in PHP on my part, particularly calling a COM object, the apache server crashes. I'm delighted that it recovers, but in so doing it always tries to rerun the query that crashed it, which just causes another crash, and so on. Is there some way of getting round this, so that it recovers but the problematic code is not rerun?

XP SP3 (still!)
Apache/2.4.3 (Win32) mod_fcgid/2.3.7 PHP/5.4.9
Firefox (Aurora)

View 1 Replies View Related

Prevent Of Execution Trojan Shell Scripts, Like R57shell And Other?

Oct 27, 2006

Which configuration for php and server that prevent execute shell scripts?

Which funstions you recommend to disable?

Like shell_exec, passthru, proc_open, proc_close, proc_get-status, proc_nice, proc_terminate, exec, system, suexec, popen, pclose, dl, ini_set, virtual, set_time_limit

View 14 Replies View Related

Plesk 12.x / Linux :: Php Execution In Domain Only Show Fastcgi

Oct 7, 2014

Have the same case for 4 servers (web and pro), the menu in plesk could not show another choice, only fastcgi.

Handlers look like ok:

root@serveur:~# /usr/local/psa/admin/sbin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini:
module 5.4.4 5.4.4 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini
fastcgi 5.4.4 5.4.4 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini
cgi 5.4.4 5.4.4 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini

[code]....

How to force to display php module ?

View 3 Replies View Related

Plesk 12.x / Linux :: Execution Failed Command - Autoinstaller

Apr 13, 2015

while plesk was trying to update automatically (as per the normal preference settings) but suddenly gave this error

Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
)

Details: Doing restart of Parallels Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 17%..26%..37%..47%..57%..78%..88%..100% was finished.
File downloading sitebuilder.inf3: 22%..35%..48%..60%..73%..86%..100% was finished.

[code]....

ERROR: Currently installed version of product with ID 'plesk' is not available from download site anymore.Please upgrade to the next available product version to receive software updates.Seems like the RPM got damaged, but I already fixed that part, now when I put "install" I'm geting the following
Installation started in background..Getting bootstrapper packages to installation list:

Following bootstrapper packages will be installed: (empty)
----------------
Getting packages to installation list:
Following packages will be installed: (empty)
----------------
Loaded plugins: fastestmirror

Patch for plesk 12.0.18 will not be installed since it is already applied.Error: You already have the latest version of product(s) and all selected components installed. Installation will not continue.HOWEVER the "mail" and mail server configuration no longer shows in "tools & settings".

View 1 Replies View Related

Plesk 12.x / Linux :: Unable To Configure Web Server - Execution Failed

Dec 5, 2014

I get the following error in plesk i don't know how to resolve this

Unable to configure the web server: Execution failed.
Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart )

[Code] .....

View 2 Replies View Related

Squirrelmail: Email Arrives With Different Time Than Server Time

Nov 11, 2008

This is a rare issue i have on a RHEL 5.2 + cPanel server.

Server time is:

Tue Nov 11 17:02:51 CST 2008
Squirrelmail time show:
Code:
Last Refresh:
Tue, 5:02 pm

So, that is correct too..

But email arrives with -4 hours time, example:

webmaster@xxx.com 1:03 pm testing email

I already rebooted httpd, exim, and imap server, and the server itself too.. and problem stills.

View 11 Replies View Related

DNS :: Connect Time And Host Ping Time?

Jan 6, 2008

I got report from webceo that I have some issues. May someone help me fix this?

DNS Lookup: 0.22 sec
Connect time: 0.33 sec
Host ping: 0.10 sec

That mean too slow with the other sites!

View 4 Replies View Related

Server Response Time :: Network Time Out

Sep 25, 2008

I can't get access to a certain site. I always get the page with:

network time out - server at *** takes to long to respons. More people have noticed this and apparently it only happens to people with certain specific providers. And not all the time. Some times they DO get access eventy to they belong to the same ISP. So I guess an ISP isn't blocking access to it otherwise it would be permenantly/The site administrator insists that certain ISP's are blocking his site. He's hosting it on his own server. The domain belongs is registered at namecheap.com.

If an ISP is blocking this site (if that's possible?), that would lead to that 'network timeout' page wouldn't it?

What is the most likely reason for getting a timeout page anyway?

View 7 Replies View Related

Daily, Time To Time Cpu Load

Aug 9, 2007

I have a dedicated server specs: AMD 3500+ 64 Bit CPU, 1 GB Ram, 160 GB Sata Drive. For 1 month, CPU load average reaches 40-50 value. This happens about 5-6 times in a day. When I stop httpd service for 30 seconds everything goes normal. I think this is not a DoS attack because it comes systematic, I dont believe no one makes this regularly except bots.

Maybe its a system service or a cronjob but it stops when I turn off httpd service?
How can I be sure about what's making this regularly load?

I also did set up a script which mail me when load average of system goes crazy and restart httpd service. But instant restart is not working to stop load increase.

View 12 Replies View Related

Apache :: Server Going Down From Time To Time

Feb 6, 2013

The server is going down from time to time, every 12 days or so the site hosted there is no longer accesible, everything starts with the site slowing don and down and then is not longer reachable, what we do is to request a power cycle, and with this we start all over again till next power cycle, so on so on, of course, here are my server details and more info on this:

- MySQL - 5.1.41-3ubuntu12.10
- Apache - 2.2.14-5ubuntu8.4
- PHP - 5.3.2-1ubuntu4.9
- operating system: Ubuntu Server 10.04 LTS

After some time emailing the support guys to barely check about what's going on, we received an email with a few things:

1.- found a few errors that likely would cause issues with Apache. The first error is:
[Mon Feb 04 05:03:10 2013] [error] mod_fcgid: fcgid process manager died, restarting the server and the next error is:
[Mon Feb 04 14:32:34 2013] [error] server reached MaxClients setting, consider raising the MaxClients setting ...

Both these errors seem to indicate that you have a process that is running out of control on your server. We were unable to determine what script on your site is running caused your connections to be maxed out however it does appear that before these errors were generated there was a WordPress plugin referenced in your access logs...

2.- Additionally during our review we did find that your error log for mercadodedinerousa.com is 45 GB's which is excessively large and can cause problems when Apache is trying to write a such a large file.

3.- The majority of the errors being logged are:
[Wed Feb 06 12:12:31 2013] [error] [client 200.76.90.5] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/mercadodedinerousa.com/httpdocs/index.pl, referer: [URL]

View 6 Replies View Related

Turning Off Execution Of "Mail Delivery Failed: Returning Message To Sender" In Exim

Jun 24, 2009

My mail server receives tons of messages directed towards bogus, non-existant addresses at my domain. When those addresses don't exist, it creates a reply email with the subject "Mail delivery failed: returning message to sender". How do I stop exim from doing this?

View 3 Replies View Related

Time Out

Oct 25, 2009

I bought a new server ...

It had 2GB RAM, 2.8 GHz processor ,NIC fast Ethernet , 500GB HD.

Window server 2003 standard x64.

4 ip.

The ip ping but I cannot connect to server using remote desktop.

Is this problem related to firewall, or the network it self.

View 6 Replies View Related

What If NO Down Time For VPS

Nov 7, 2008

What if NO down time for VPS?

1. CPU (with Mainboard)

2. RAM

3. HDD

4. SMPS

5. others

with ALL things redundant

** currently my sites (on VPS) are down since couple of hours.. and God knows when they will be live again!

View 12 Replies View Related

Second Time To Run Rsync?

Jul 8, 2007

one day later, if I run the following command again, the command is same as the one run by the first time.

rsync -avz username@IP:/home/asite/public_html/ /home/asite/public_html/

does it mean rsync will just check and copy the newer folders and files from the last copy?

View 6 Replies View Related

Time To Downgrade

May 27, 2009

I have the same server for 3 years...Over that time I've been reducing the number of sites i have..

Is it time to downgrade?

The spec is below.... On a positive side It's been up for almost 500 days so it's reliable.

Would i be better with a high spec reseller account or a smaller managed server rather than spending $220 per month. I spend at the moment.

I'd even consider paying the same i pay now if i could get a faster more upto date server

2 processors: 2.8ghz pentiums

Ram 2gb

2 160 gb hdd's backup drive has used 96gb

Bandwidth used/available this month 50gb/1200gb

host 100 domains busiest is a forum with 500 members

already moved Moved all videos to Amazon S3

View 12 Replies View Related

Server Time

Mar 27, 2009

I have big problem, In my HyperVM i've change time to EUROPA/Sarajevo but in WHM still going 24 hours in forward. Please help me to resolve this. This is very important...

View 5 Replies View Related

VPS Network Time Out

May 2, 2009

from: domaintools.com

Host IP Address Ping Time
1. 206.71.148.249 Timed Out

2. 206.71.148.249 206.71.148.249 126.20ms

3. 206.71.148.249 206.71.148.249 82.35ms

4. 206.71.148.249 Timed Out

5. 206.71.148.249 206.71.148.249 87.01ms

6. 206.71.148.249 Timed Out

7. 206.71.148.249 Timed Out

use: Enotch Networks

this issue from networks (enotch) or from my ISP?

because enotch staff said my ISP problem!

View 6 Replies View Related

CPU Time Usage

Jun 2, 2009

I'm just wondering what exactly "CPU Time" is, I have searched Google and checked Wikipedia but still do not really understand. The main reason this is bugging me is that MySQL on our database server seems to have a very high "CPU Time" usage.

This is the top part of the output from "top", with MySQL shown:

Code:
[mike@mysql1 ~]$ top

top - 20:26:05 up 222 days, 16:14, 1 user, load average: 2.04, 2.90, 2.36
Tasks: 95 total, 1 running, 94 sleeping, 0 stopped, 0 zombie
Cpu(s): 27.1%us, 12.1%sy, 0.0%ni, 60.2%id, 0.3%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 2074276k total, 1990828k used, 83448k free, 163012k buffers
Swap: 4192956k total, 60k used, 4192896k free, 1410448k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26826 mysql 25 0 483m 324m 5504 S 238 16.0 363300:21 mysqld
1 root 15 0 2064 592 508 S 0 0.0 0:01.24 init
2 root RT -5 0 0 0 S 0 0.0 1:13.13 migration/0
3 root 36 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
4 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT -5 0 0 0 S 0 0.0 0:01.17 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1
7 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root RT -5 0 0 0 S 0 0.0 5:34.93 migration/2
9 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/2

View 2 Replies View Related

Time For Ticket

Sep 22, 2008

I have mi server in the planet. But I am not very happy with the support you give.
That's why I want to know what is the appropriate time for the response of a ticket?

30 minuts?
1 Hour?
2 hours?
3 hours?
4 hours?
8 hours?
12 hours
1 day?

View 14 Replies View Related

Reload OS Time

Jun 27, 2008

What is a reasonable expectation for how long a host should take to reload an OS?

Read on for my story if you want details behind my questions...

Due to a logical but unfortunately incorrect mistake on my part, we ordered a dedicated Windows server with a 64-bit OS. We just found out that the 64-bit OS isn't compatible with a software package and we needed to get the 32-bit OS reloaded in a hurry.

I understand that urgency on my part doesn't necessarily mean it's an urgency on their part, but I am also paying additional for the server reload. I submitted a ticket with the hosting company yesterday around 7PM to get it reloaded ASAP. As of 9AM this morning I didn't hear anything from them one way or another so I signed in to my hosting account only to find that they left a reply to my ticket asking to confirm that I really indeed want a reload with the selected reload options. I never received any type of an email notification of the reply. I was a little miffed that I didn't get any e-mail, but oh well so I confirmed that was indeed what I wanted.

At 10:30 I get an e-mail asking me to reconfirm that my server's physical specs and there is a discrepancy on the memory installed as their records were outdated and showed 1/2 what was really installed. I have to contact my account exec to get that straightened out and I finally get notified that the reload has started around 11:30AM.

I was originally told informally 3-4 hours in a support chat. Here it is 12+ hours after the reload supposedly started and I have heard nothing from them. I tried checking at 5:30PM tonight before I left work what the status was, but the lady I spoke with just repeated the message I got at 11:30AM saying things were underway and that she couldn't give me an ETA on when things would be finished.

Am I unreasonable in thinking 24 hours after I submit the ticket with an priority of "ASAP" is too long? I'll cut some slack for the miscommunication on confirming that I indeed want a reload but even then it's been 12+ hours after they said that they have started and the server when down.

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved