Segmentation Violation

George Simon GSimon at americanriverintl.com
Wed Jul 21 09:38:21 PDT 2010


No, we have a filePro program that is part of a process that scans records and checks them against other lists.
Here is what is happening as I understand it from our programmer (the following are his words):
-----------------------------------------------------------------------------------------------------------------------------------------------
1.       There is something happening that doesn't allow a scan process to complete (presumably a segmentation violation)
2.       The queue_manager sends files to the dropoff folder to send to the API processing system.
3.       The queue_manager waits a total of 10 seconds for a response transaction to return.
4.       If it doesn't return, it logs it and sends the next transaction in.

This is where we have the issue (point 4). We continue sending transactions while there maybe 32 zombie processes which
exhaust the filePro license.

What I've done.

1.       Increased the timer from 10 seconds to 45 seconds for a response transaction.
2.       Placed a wait to make sure the scan (of name and address) occurs. I know this is complete if there are lock files in the temp dir.
3.       If the temp files do not appear within 45 seconds, I (kill -9 $!) - thus killing the process 

I'm placing some finishing touches on it.  I hope for a clean batch tonight without the issue of over-licensing.

-------------------------------------------------------------------------------------------------------------------------------------------------
George Simon
American River International
Celebrating Over 28 Years of Success!
908-354-7746 x 103
http://www.americanriverintl.com/

The GREATEST compliment I can receive is a REFERRAL from my customers and friends!

Please visit our website at www.americanriverintl.com for more details & information

Now available on the American River International Website! 
Links to Denied Parties, FDA Web site & Safe Harbor Policy,
also available E-Tracking - our NEW online tracking site. 



-----Original Message-----
From: Kenneth Brody [mailto:kenbrody at spamcop.net] 
Sent: Wednesday, July 21, 2010 12:09 PM
To: George Simon
Cc: filepro-list at lists.celestial.com
Subject: Re: Segmentation Violation

On 7/21/2010 10:41 AM, George Simon wrote:
> I've been asked the following question by one of our programmers that is experiencing difficulties with segmentation violations.
>
> "George,
>
> If you have any information on this, it would be great.  But, could you message the filePro list
> to see if there is a way to exit from a segmentation violation if a process crashes on the cron?
>
> Thanks"
>
> I told him that I did not think so but would post the question here.
[...]

A SEGV means the program has already exited.

Well, to be more specific, in the case of filePro, filePro catches the 
SIGSEGV signal, does some quick cleanup, outputs "***segmentation 
violation", and then exits.

Are you saying this isn't the case on your system?

-- 
Kenneth Brody


More information about the Filepro-list mailing list