![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hello, We run a lot of Linux and SunOS Sybase installations of version 12.5.4 and 15.0.3 ESD#4 and encounter in some SunOS installtions the following sporadic problem: - table is truncated and all Indices are dropped - BCP is called as: * bcp $DATABASE.owner.$tabelle in $file -t '^A' -b 10000 -Uxxxxx -Pxxxxxxxxxx -c --maxconn 1 Sporadic (and difficult to reproduce) the BCP stops like this: ... 9290000 Zeilen an den Adaptive Server gesandt. Import der Daten in den Adaptive Server gem der Anweisungsfolge erfolgreich durchgef hrt. 9300000 Zeilen an den Adaptive Server gesandt. Unterbrechung - Bulk-Copy abgebrochen. (sorry for the German messages; it is sending over a lot of lines successfull, and than terminates in the "midlle" of the file with Interrupt - Bulk copy aborted.) it does not depend on the data, because you can truncate the table again and fire up the same BCP command, sometimes only successfull in the 3rd attempt; most of the time it works fine in the 1st run; as I said, this happens only on SunOS, not on SLES Linux; the ASE server is local on the same host; Could someone with access to the source code, please check what reasons trigger such an abort? Any other idea? Thanks in advance * * * * matthias |
#2
| |||
| |||
|
|
The usual reason for the message "Interrupt - Bulk copy aborted" is the person running BCP doing a ^c to interrupt the process. Perhaps something else on the system is sending a SIGINT signal (randomly?) to other processes. *You might be able to catch this happening/protect against it using the "trap" unix command. Example: http://steve-parker.org/sh/trap.shtml |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |