Dear All, thanks a lot for your replies. I've found my mistake. The script output stopped, but the script was still filling the MySQL table. When I resized the Gnome terminal window the output continued. -- Christian