Hallo Marco,
was für ein OS ? Also für mich klingt das nach Bug, "actives warten" in einer Schleife oder so. Ein FTP Prozess dürfte niemals soviel CPU verbraten, es sei denn es steckt ein 486 er drin.
Apache unter Debian, 512 MB RAM, Celeron 2 GHz...
Hier ein Ausschnit...
<?
ftp_get($conn_id, $basedir . $dir . $tempdir . "/" . $lenny, $_SESSION["upload"]["ftp_dir"] . "/" . $lenny, FTP_BINARY);
if (@$handle = opendir($basedir . $dir . $tempdir)): //Directory öffnen und durchlaufen
while (false !== ($file = readdir($handle))):
if ($file != "." && $file != ".."):
resize($basedir . $dir . $tempdir . "/$file", $file, $basedir, $_SESSION["upload"]["zielordner"], $width, $height);
endif;
endwhile;
closedir($handle);
endif;
?>
toby
--
"Trying is the first step toward failure." - H. Simpson
"Trying is the first step toward failure." - H. Simpson