100 kB
I dont know how long that would take .....
Normally not long enough to script time out
But if you both read & write 100kB in same script, then we have 200 kB
But this wouldnt take many seconds to do for PHP.
Maybe 2-5 seconds, I guess.
Anyway, you can try this,
http://php.net/manual/en/function.set-time-limit.php
set_time_limit( seconds ); will change the phpinfo() setting
max_execution_time which is by default 30 seconds
If you put this in beginning of your script
it will not time out until 60 seconds
<?php
set_time_limit( 60 );
?>
I hardly think this will solve your issue.
It is probably something else that makes your file operation cut-off