Determining Process Intense Tasks With Suexec Installed
Jan 19, 2008
i got mod suexec / phpsuexec installed on the server recently. if i click on view cpu/memory/mysql usage in WHM i can see this in the first row:
<username><domain>3.170.110.1
Top Process%CPU 145/usr/bin/php
Top Process%CPU 100/usr/bin/php
Top Process%CPU 81.7/usr/bin/php
now this info is pretty useless. ok, php is evidently bursting to pretty damned high cpu levels. BUT, what are the actual FILES causing this load?
View 2 Replies
ADVERTISEMENT
Aug 13, 2007
i install roundcube webmail (php)
i want to add an alias like /mail for all domain to /usr/src/roundcube
i add this command in httpd.conf:
Quote:
Alias /mail /usr/src/webmail
but because suphp installed , apache run it under root user (or user assigned to it) and suphp produce "500 Internal server Error"
View 0 Replies
View Related
Sep 26, 2007
with a single server running PHP and MySQL.
What sort of hosting requirements do you think I would need for...
A site with a mysql db with 100,000+ records in a single table and executing simple select statements on the table with 100,000+ records at a rate of 50 queries per second? (All other things should be negligible at this scale).
View 4 Replies
View Related
Aug 14, 2007
im planning to setup a loadbalencer system soon and im wanting to redirect users based on their location, im wondering if anyone knows how best to do this (servers will be hosting streaming media and load balancer will be la linux based server
View 1 Replies
View Related
Nov 15, 2007
Without having all of the operating systems at my disposal for testing, I would like to figure out a way to determine the operating system of a remotely accessed Linux machine.
It seems pretty strange though, since cPanel reports both machines I am using as being
CENTOS Enterprise 4.5 i686, yet one's uname -a reports:
Code:
Linux hostsentry.crucialwebhost.com 2.6.9-023stab044.4-enterprise #1 SMP Thu May 24 17:41:23 MSD 2007 i686 i686 i386 GNU/Linux
Code:
Linux main.7kb.org 2.6.9-55.0.6.ELsmp #1 SMP Tue Sep 4 21:36:00 EDT 2007 i686 i686 i386 GNU/Linux
I'm assuming there is a way to determine the OS from this information. Anyone know how?
View 8 Replies
View Related
Oct 26, 2009
How to execute specific .aspx file in scheduled task in win 2003 server or how to Create Scheduled Tasks for .aspx Files?
View 14 Replies
View Related
May 7, 2009
I want to create a simple PHP script to manage cron jobs. Say I want to create a front end like a control panel.
I know, many of the WHT members are using custom coded control panels, and surely they have implemented this already.
What is the right approach to do it ?
- Using exec() function and execute commands
- Write directly to /var/spool/cron/<username>
View 10 Replies
View Related
Nov 6, 2014
I see I can only create a single backup task in plesk, server self repository or ftp repository.
My idea is duplicate backups inside and outside of my vps, I mean, I want to create a backup task in my vps and in my own ftp server.
It is possible?
View 3 Replies
View Related
Feb 4, 2015
I have created a scheduled task as per my application guide as in the attached file. When i recieve the email it says the following:
: /var/www/vhosts/testdomain.co.uk/clients/admin/cron.php: No such file or directory
i have also tried appending:
php -q
wget -O (using the http to the location to cron.php)
Nothing seems to work.
I have transfered from cpanel and this is my first scheduled task and not getting anywhere with very little information on how to do this.
Im running:
Plesk 12
Linux
View 1 Replies
View Related
May 28, 2015
after creating a new cron job, when i try to open Scheduled Tasks i get this error :Internal error: DateTime::__construct(): Failed to parse time string (2015-05-28 0.12:0:37) at position 17 ): Unexpected character
Message DateTime::__construct(): Failed to parse time string (2015-05-28 0.12:0:37) at position 17 ): Unexpected character
File Helper.php
Line 143
Type Exception
View 1 Replies
View Related
Feb 17, 2015
Whenever a user in my Cloudlinux powered Plesk Panel 12 tries to use the scheduled tasks, this is the error that is emailed to them...
excel: couldn't exec `/usr/local/psa/bin/chrootsh'
excel: No such file or directory
Does not matter what the task is, same error every time.
Even something as simple as wget [URL] .....
View 10 Replies
View Related
Jan 8, 2009
which type of CPU would be better for a web server that will run Windows, PHP, ColdFusion, mail, DNS, and IIS. Would a dual core CPU with a higher clock speed do better than a quad core CPU with lower clock speed? For instance, would a dual core 3 Ghz processor do better than a quad core at 2.4Ghz?
View 6 Replies
View Related
Mar 1, 2015
I have setup Backup Manager to backup Files and Configurations every week for every subscription. This worked really good however we are now considering changing this to daily basis.
As the free space on server will decrease. I was wondering i there is any way with cronjobs how to remove the backup older than 24 weeks. How to make such an cronjob script?
If possible i also would like to know where the Backup Manager physically stores its backups?
View 5 Replies
View Related
Jun 27, 2014
Looking at a server with Plesk 12 installed there is no root user shown in tools & settings / scheduled tasks.
Login as root and crontab -l shows root has some tasks.
On a similar server with Plesk 11.5 installed can see root user shown in tools & settings / scheduled tasks.
View 1 Replies
View Related
Oct 23, 2014
plesk 11.5
centos 6
We set a couple of task with domain user but the cron is not executed.
We tried 2 kind of task to run every minute
/usr/bin/php /var/www/vhosts/domain.com/httpdocs/cron.php
and
mail -s "Hello" admin@domain.com
1) Why scheduled task are not executed?
2) Where the tasks are written in filesystem from plesk ? /etc/....?
View 3 Replies
View Related
Jun 2, 2014
I have the following command to execute every 5 minutes this PHP file which is working correctly:
/usr/bin/wget -qq -O /dev/null http://url.com/script.php
How can I make it so only the system (scheduled task or the server itself) can access to the file to execute it. I tried placing CHMOD 700 to the PHP file but everyone is still able to access to it and executive it.
Plesk version: 11.5.30 Update #44
View 2 Replies
View Related
Apr 23, 2009
Do you have any idea for patch PHP suEXEC with "ln" command?
View 9 Replies
View Related
Mar 23, 2008
what fellow users here set --with-suexec-docroot in Apache
installations when cgi-bin folder is outside the public_html folder.
Looks like setting it to /home is the only way.
View 0 Replies
View Related
Jul 7, 2014
I've just migrated server to server but I didn't use the migration manager, I simply backed up each domain's content and restored those backups on the new server.
The issue I have run into is the scheduled tasks at the admin level (Tools & Settings > Scheduled Tasks) work but any schedule task under a domain do not. The scheduled tasks under the domains show as inactive (no green tick) and when I click to enable them, I get the following message
"Information: The scheduled task Google Product Feed Daily Scheduled Task was switched on."
If I then look at the page, even though the above message says it is, the scheduled task is still not enabled. Going into the scheduled task and switching it on there results in the same message, but it doesn't switch on.
How to rebuild all of the scheduled tasks within Plesk?
Currently Installed: v. 12.0.18
View 1 Replies
View Related
Jul 22, 2014
We have a VPS with Centos 5 and Plesk 12.0.18.
The CRON service is running and works correctly, the Scheduled tasks on the administration Plesk Panel (tools & Setting / Scheduled tasks / root user) works ok, but when a customer sets a new scheduled task from her domain panel, don't works.
The task is a simple WGET command.
View 3 Replies
View Related
Jun 17, 2009
I installed lsws without apache conf file(httpd.conf). Then I created a new virtual host in "suEXEC" Template. I added a new user via SSH and made home dir for him and chowned his home dir + all his files to hisusername:hisusername. His home dir(/home/user/) is chmoded to 755 and his /public_html to 711. It worked fine but after that I installed phpbb3 forum and when I tried to chmod config.php to 600 I got an error on the forum:
Fatal error: require() [function.require]: Failed opening required './config.php' (include_path='.:/usr/local/lib/php') in /home/username/public_html/common.php on line 127
When I was using lsws with apache conf file and I had configured suEXEC + suPHP for apache I was able to chmod config file to 600 and it worked fine. I have no idea what could be the problem now.
It works fine when I chmod config.php to 755 but for security reasons I would need a way to configure it to 600.
LiteSpeed si running as nobody:nobody.
EX. APP settings:
LSAPI App
$VH_NAME_lsphp
uds://tmp/lshttpd/$VH_NAME_lsphp.sock
SCRIPT HANDLER settings:
Suffix: php5
Type: LiteSpeed API
Name: [VHost Level]: $VH_NAME_lsphp
View 7 Replies
View Related
Feb 8, 2008
what are suexec / suphp and for what purpose we use it.
View 1 Replies
View Related
Mar 15, 2008
I have a problem in the last apache upgrade (apache 2.2.8 + php5) step .
exactly in "Configure Suexec and PHP"
I found this option doesn't have multi values as CGI or Suphp just I found none :
PHP 5 Handler none
PHP 4 Handler none
I must to return to build apache1 with php4 for I can see suphp and cgi in "Configure Suexec and PHP" "PHP 4 Handler" option .
View 5 Replies
View Related
May 11, 2008
Is there any which works with this turned on?
View 3 Replies
View Related
Jan 2, 2007
(what I did find was for old apache, not 2.2)
I have Fedora Core 5 wih Apache 2.2.2 and VirtualHosts setup, currently running mod_php and mod_suexec. I would like to switch to use php with suexec because I need to edit files with php that "nobody" doesn't have access to (777 not an option).
Right now mod_suexec works great with Perl, but not PHP. So I ask, how can I get them to play nice?
View 14 Replies
View Related
Sep 21, 2007
Can anyone tell me the difference between SuExec and PHPSuExec. I hear eaccelerator will not work with PHPSuExec but will it work with SuExec?
View 2 Replies
View Related
Oct 28, 2007
what is phpsuexec and suexec and how to stop them ?
View 1 Replies
View Related
Aug 28, 2007
I've been attempting to develope a server running apache 2+, php 5, and I was running into issues installing php as cgi.... All my scripts require The shebang:
#!/usr/bin/php at the top to execute properly. Anyone know a good site/how to that explains how to do this?
has anyone else here run suexec with apache? If so, could you tell me what you compiled it with? Just curious, as I think i'm doing everything right, yet I still fail
View 2 Replies
View Related
Jul 23, 2007
Can I have Apache suexec with cPanel?
View 5 Replies
View Related
Sep 26, 2007
I want to ask about suexec.
Currently I disable suexec in my dedicated server.
Which is better, to enable it or not?
What will happen to existing sites folder permissions if suexec is turned on?
View 7 Replies
View Related
May 6, 2008
I just heard this story on NPR yesterday discussing cloud computing, how you can use external computers to do super-computer sized tasks without having the hardware in house yourself.
If we host colocated servers, how feasible is it to get our servers into that game?
View 14 Replies
View Related