Hi, Help please solve the problem with ncftpput I try to execute command: <? php ... shell_exec ( 'umask 0000; TERM = vt100; export TERM; nice-n 19 /usr/local/ bin/ncftpput-u user-p pass-P 21 ftp.host.com / /patch/to/file/to/upload.gz 1>> /log/ncftpput.log 2>> /log/ncftpput.log '); ... ?> Everything works fine, but after completion, is the load on the server. $> Uptime $> Load average: 10.11, 15.15, 19.15 And it continues to grow. How can I solve this problem?
After completion of the work(ncftpput) remains httpd process and the load is not reduced, but increased ...
lol fixed as <? php ... shell_exec ( 'umask 0000; TERM = vt100; export TERM; nice-n 19 /usr/local/ bin/ncftpput-u user-p pass-P 21 ftp.host.com / /patch/to/file/to/upload.gz 1>> /log/ncftpput.log 2>> /log/ncftpput.log & > /dev/null'); ... ?> Worked fine with & > /dev/null