Running A Linux Process In The Background

Nov 23, 2007

So ive installed a bit torrent client on a server for a corporate client to server an internal application they use.

When I run the following code, it starts to seed it fine, however as soon as I close the ssh session which started the seed, it stops seeding.

Ive tried adding an & to the end of the command, however the same thing happens.

Anyone got any ideas how I can get the following line to start as soon as the server boots, and keep running 24/7?

The command is;

btdownloadheadless.py --url [url]

View 7 Replies


ADVERTISEMENT

Background Process Killer

Mar 25, 2009

can anybody tell me more about Background Process Killer on cpanel?
BitchX

bnc

eggdrop

generic-sniffers

guardservices

ircd

psyBNC

ptlink

services

what are them and which of them must enable in Background Process Killer option?

View 3 Replies View Related

Running A Script Via Ssh In The Background

Mar 26, 2008

I'm running a script called hlstatsx which is a ranking system for game servers and it needs to be run 24/7

I use ssh to start it with this command:

perl hlstats.pl

However, I have to keep the ssh window open otherwise the script will stop. Is there a way to keep it running in the background even after I close the ssh window or logout?

View 14 Replies View Related

Running Php As Background Service

Mar 29, 2007

I want to run a php script in the background every 15 seconds (otherwise I would simply use cron)... Would anyone be able to tell me how I would set this up?

View 2 Replies View Related

Plesk 12.x / Linux :: MySQL Process Running Unlimited With High CPU?

Mar 23, 2015

I have a single mysql process that never stops and running with 10-200% CPU load: URL....

I restart mysql => process coming back
I restart server => process coming back
I kill process => process coming back

I have run:
# mysqladmin -uadmin -p`cat /etc/psa/.psa.shadow` -i 1 processlist
but there was noting that runs >10min.

Code:
> SHOW FULL PROCESSLIST;
+------+-------+-----------+------+---------+------+-------+-----------------------+
| Id | User | Host | db | Command | Time | State | Info |
+------+-------+-----------+------+---------+------+-------+-----------------------+
| 328 | admin | localhost | psa | Sleep | 56 | | NULL |
| 8110 | admin | localhost | NULL | Query | 0 | init | SHOW FULL PROCESSLIST |
+------+-------+-----------+------+---------+------+-------+-----------------------+
2 rows in set (0.00 sec)
I have strace the PID

Code:
# timeout 1m strace -f -c -p 5873
Process 5873 attached with 30 threads - interrupt to quit
Process 10499 attached (waiting for parent)
Process 10499 resumed (parent 5873 ready)
Process 10502 attached (waiting for parent)
Process 10502 resumed (parent 5873 ready)
Process 10503 attached (waiting for parent)

[code]....

I found with google a hint for high cpu URL....I have deinstalled "health monitor" module, but that was not the reason.I use plesk 12.0.18 Update #38 with CentOS 6.6 (Final).

View 2 Replies View Related

Running Php Script In Background Windows

Mar 29, 2007

I have a php script that is scheduled to run once a day via the Windows task manager. My question is how can I tell it to run in the background so the dos window doesnt pop up? Right now the line in task manager to run it is:

c:phpcliphp.exe c:path ophpscript

View 0 Replies View Related

Auto CHMOD Script Running In The Background

Jul 21, 2009

I am attempting to setup a script which will automatically append the proper file permissions [posix & acl's] to any new files on certain folders that I specify.

Someone Recommended

find /Users/Kevin/Desktop/TRANSFER -type f -exec chmod 777 {} ;

This only seems to run once and when new files put in I have to have the script run every so often as a cronjob, I really just want to have a script to change the permissions of files going into a folder.

View 7 Replies View Related

[Debian] Command "screen" How Running Background Processes

Jun 14, 2007

To start the process in the background how and hide him?

In the system CentOS is command "screen" There is the command screen
a system debian does not have this command, only "&" but I do not know her to use.

Please pass equivalents:

Centos: screen
Debian: &

Centos: [CTRL] + [A] + [D] (detach)
Debian: ?

Centos: screen -ls
Debian: ?

Centos: screen -r
Debian: ?

View 1 Replies View Related

What Is This Running Process

Feb 19, 2008

I am showing hundreds of running processes for:
/usr/local/apache/bin/httpd -DSSL

View 3 Replies View Related

Mysql Running Process

Apr 10, 2008

mysqq has a nice value of 6, is this fine? I read somewhere that it's better at a value of -5.

View 4 Replies View Related

Why User Root Is Running Process Httpd All Time

Jul 2, 2009

I usually use the "top" command to see what is happening in my server ... Normally everything is OK untill one week ago I start so see this process:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1115 root 20 0 10768 10m 164 R 26 0.5 46:17.27 httpd

Is the number 1 on the top list using a lot of CPU and MEM (as I say before ... I never have seen this command in the past)

So when I kill the process everything goes fine but only for a few minutes and then is comming back

View 14 Replies View Related

Plesk 12.x / Linux :: How To Tell If Migration Is Still In Process

Jun 12, 2015

I'm migrating 11 domains from my old server to my new server, and it's been running now for 3 hours and the progress section shows 100% but it looks like it's still running.

And each time I check the "Domains" section I see a couple of my domains listed but not all of them yet, and the ones I do see the "Disk Usage" on one of my domains that I know is large shows the same figure each time I go to this page; it doesn't seem like it has increased at all.

How can I tell if the migration is still processing or if it has froze and I should restart the migration again?

View 1 Replies View Related

Plesk 12.x / Linux :: Can't Apply Process Slot

Jul 11, 2015

im suddenly seeing this in my error log not sure what i need to change

mod_fcgid: can't apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper

View 1 Replies View Related

Plesk 12.x / Linux :: Error During Scheduled Backup Process

Jun 18, 2014

Sometimes I get this error:

Domain: mydomain.com

Plesk entry point: https://myserver.local:8443/

Following error is occurred during scheduled backup process:

[Errno 17] File exists: '/usr/local/psa/PMM/logs/backup-2014-06-18-23-30-05-556'

but in the backup.log and in the pmmcli.log I don't found any error.

What does it mean?

View 8 Replies View Related

Plesk 12.x / Linux :: Process PHP By Nginx (PHP-FPM) Trailing Slash

Jul 12, 2015

I have a dedicated server with debian 7 and plesk 12.1, I recently install php-fpm from the "Add and Remove Product Components" panel, then I activated the "process PHP by nginx" checkbox on "Web Server Settings " panel. when I did that every internal pages gives me a blanck page (i have a magento website), by looking on the url i found that i have always "/" (slash) at the end of all my urls and that deleting those slash fix the thing, i don't know how to stop php-fpm or nginx from adding this slash at the end of all my urls,

View 2 Replies View Related

Plesk 12.x / Linux :: Failed To Start PHP FastCGI Process Manager

Mar 10, 2015

I use centos 7 , atomic repo, plesk 12 12.0.18 Update #37 php fpm not work.

[root@vmi36735 ~]# systemctl status php-fpm.service
php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled)
Active: failed (Result: resources)

[Code] ....

View 5 Replies View Related

Many Httpd Nobody Run In Background

Apr 21, 2008

top - 19:57:53 up 3 days, 23:39, 1 user, load average: 43.91, 43.52, 36.36
Tasks: 313 total, 19 running, 294 sleeping, 0 stopped, 0 zombie
Cpu(s): 85.2% us, 14.8% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2073804k total, 2019960k used, 53844k free, 26992k buffers
Swap: 2096440k total, 11176k used, 2085264k free, 839880k cached

PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
4657 mysql 15 0 49 1146:03 12.2 414m 247m 3088 S mysqld
10993 nobody 25 0 6 1:29.96 1.0 103m 20m 9240 R httpd
11157 nobody 25 0 6 1:52.78 1.0 105m 19m 7164 R httpd .......

View 9 Replies View Related

Background Job Exited

Dec 4, 2007

I have a CentOS system (under VPS, virtuozzo) and I would like to run a background job.

Here what I did:

1. ssh into the server
2. execute:

$ ./myscript.php > output.log &

After executing that command, I got back to the shell prompt.

Then I can see the log file:

$ tail -f output.log

But when I close my ssh session (using putty), the background job is also closed!

Anyone know why?

How can I run background job, leave it running, and quit my ssh session?

View 2 Replies View Related

VPS & Background Processes

Dec 8, 2007

On jaguarpc.com, their terms of service state,

"We do not allow programs to run continually in the background. This is to minimize system resources used and operational maintenance needed. We do not allow any chat or topsite programs on our servers other than the ones we pre-install for our clients to use. IRC: We currently DO NOT allow IRC or IRC bots to be operated on our network."

I thought the whole point of using a VPS was so you could run a continuous application (like a chat/game/etc server)? Why are so many VPS services against IRC (the chat server I use is not IRC based, but I just think its wierd so many prohibit IRC)

View 9 Replies View Related

Plesk 12.x / Linux :: Relation 502 Bad Gateway / Can't Apply Process Slot And Restart Iptables

Jul 8, 2015

I have a strange issue on a Plesk 12 VPS. Sometimes the sites result in a "502 Bad Gateway (nginx)". This happens 1 or 2 times a day on different times.

In the httpd log I see a record "can't apply process slot" and in nginx log I see "connect() failed (111: Connection refused) while connecting to upstream" but restarting apache and/or nginx will not always result in a working site.

When I restart iptables everything is working fine again.

View 5 Replies View Related

Unable To Set Background For Terminal Service Users

May 26, 2007

I am unable to set the background for the users on a terminal server.

The server is running Windows server 2003 R2 64 bit Enterprise edition.

I have setup the background path correctly in the group policy for the ou where the users are located. However the background does not load. I have also enabled Active Desktop in the terminal services configuration manager.

Also when I try to set the background manually as the administrator, everything is grey and I am unable to set the background. I have tried to start the Themes service but this does not resvolve the problem. Do anybody here have a suggestion on why I am unable to set the background even on the administrator user manually? (the administrator user does not have any group policies activated).

View 9 Replies View Related

Running Windows And Linux VPS On O/S

May 21, 2009

Is it possible to run WINDOWS + LINUX VPS Nodes using HYPER - V on WINDOWS 2008?

View 9 Replies View Related

Plesk 12.x / Linux :: Cron Not Running

Dec 30, 2014

I have just recently moved to Plesk web admin from cpanel. I have been trying to get the cron to run for the past 48 hours but no luck. Bellow is the code i have been trying to execute via cron but It does not run.

"/usr/bin/php /var/www/ vhosts/mydomain. com /httpdocs/billing/index.php cron"

View 8 Replies View Related

Plesk 12.x / Linux :: Not Running On CLoudlinux?

Dec 12, 2014

I have installed plesk on cloudlinux

But I can not see an login prompt when i try to connect with https://myserverip:8443

netstat -tulpen gives me the Output

EN 0 183156 69422/httpd
tcp 0 0 :::8443 :::* LIST

View 1 Replies View Related

Plesk 12.x / Linux :: Can Have WAF ModSecurity And Firewall Running Together

May 26, 2015

I currently have the Web Application Firewall (ModSecurity) installed but would like a visual interface to block IP's, subnets etc.. Can I install the Plesk firewall as well without any conflict with the Web Application Firewall?

View 3 Replies View Related

Plesk 12.x / Linux :: PHP Scripts Not Running Even As Root

May 14, 2015

I tried to setup a cronjob to run a php script. Something simple like this:

php /var/www/vhosts/onlinehome-server.info/mydomain.co.uk/script.php

didn't worked. So I used the terminal as root and I noticed that php is not running script not even as root.

not even commands like php -v works. I don't get any error back.

Plesk version 12.0

View 5 Replies View Related

Plesk 12.x / Linux :: Can't Turn Off Running Task

Jun 19, 2015

an email notification for this is coming through every day. It says ended successfully so no errors...

Running task: C:Pleskadmininweb_statistics_executor.exe
Started: Fri Jun 19 01:49:01 2015
Ended successfully: Fri Jun 19 01:49:09 2015

If i go to Server -> Scheduled Tasks and look for it, it cannot be found anywhere. Also scheduled tasks only shows system users, not 'Plesk Administrator' as the kb articles refer to.

View 2 Replies View Related

Can I Have Mix Windows And Linux VPSs On The Same Server Running CentOS

Feb 15, 2009

if i can create 2 VPS with completely different OS such as CentOS5 and Windows 2003 Std.

The main server will be running CentOS with HyperVM.

View 8 Replies View Related

Plesk 12.x / Linux :: PhpMyAdmin Running On Nginx But It Is Not Installed

Jan 3, 2015

i've uninstalled nginx and php-fm from plesk panel.but phpmyadmin info still showing it is running on nginx 1.6 and while uploading sql file i'm getting 503 gateway error.

View 3 Replies View Related

Plesk 12.x / Linux :: After Update To 12.0.18 Scheduled Task Not Running?

Sep 21, 2014

I recently updated from 11.5 to 12. After the update, my simple "Websites & Domains->Scheduled Tasks" is no longer executing.

I verified that the task is still present in Plesk and enabled.

The simple task launches one of my PHP web pages to perform an action:

(set to once a day: Min=30, H=7, DM=*, M=*, DW=*)
wget --quiet --delete-after "http://www.MYWEBSITE.com/some/path/index.php?someparam=somevalue"

This cron job had been working fine for more than a year but stopped working after the update.

View 8 Replies View Related







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