[FOSSology] FW: Error while uploading

2009-05-22 Thread Laser, Mary



From: Abraham Bennis [mailto:abrahamben...@johndeere.com]
Sent: Thursday, May 21, 2009 12:32 PM
To: Laser, Mary
Subject: RE: Error while uploading

Thanks, I changed the permission as recommended.  Now I could upload the files. 
I am able to run a license analysis for small file but I am getting another 
error now. Please see details below and let me know how to proceed.

# ERROR: DBaccess(7): ERROR:  canceling statement due to statement timeout

ERROR: DBaccess timeout: 'SELECT DISTINCT(pfile_pk) as Akey,
pfile_sha1 || '.' || pfile_md5 || '.' || pfile_size AS A
FROM uploadtree,pfile
WHERE uploadtree.pfile_fk = pfile.pfile_pk
   AND pfile_mimetypefk is NULL AND upload_fk = '38'
LIMIT 5000;'
WARNING: scheduler is running slow.  It took 813 seconds to check agent status: 
Thu May 21 09:13:39 2009
ERROR: DBaccess(7): ERROR:  canceling statement due to statement timeout

ERROR: DBaccess timeout: 'SELECT DISTINCT(pfile_pk) as Akey,
pfile_sha1 || '.' || pfile_md5 || '.' || pfile_size AS A
FROM uploadtree,pfile
WHERE uploadtree.pfile_fk = pfile.pfile_pk
   AND pfile_mimetypefk is NULL AND upload_fk = '38'
LIMIT 5000;'
WARNING: scheduler is running slow.  It took 599 seconds to check agent status: 
Thu May 21 09:23:38 2009
ERROR: DBaccess(7): ERROR:  canceling statement due to statement timeout

ERROR: DBaccess timeout: 'SELECT DISTINCT(pfile_pk) as Akey,
pfile_sha1 || '.' || pfile_md5 || '.' || pfile_size AS A
FROM uploadtree,pfile
WHERE uploadtree.pfile_fk = pfile.pfile_pk
   AND pfile_mimetypefk is NULL AND upload_fk = '38'
LIMIT 5000;'
ERROR: DBaccess(7): ERROR:  syntax error at or near . at character 323

Thanks,
Bennis


From: Laser, Mary [mailto:mary.la...@hp.com]
Sent: Monday, May 18, 2009 11:04 PM
To: Abraham Bennis; fossology@fossology.org
Subject: RE: Error while uploading

Hi Bennis,
In an earlier email (attached) you mentioned you were using a multi-system 
setup.  Is this still the case?  This is a VERY important distinction.  Please 
open the attached email, follow the instructions therein and let me know your 
result.

Thanks,
Mary


From: Abraham Bennis [mailto:abrahamben...@johndeere.com]
Sent: Monday, May 18, 2009 10:38 AM
To: Laser, Mary; fossology@fossology.org
Subject: Error while uploading


I am not able to upload files for license analyzing. Please see the error 
below. At the same time I am not seeing the folder called gold files.  
Please advice.


--
ERROR upload 12 Failed to import file into the repository (RepImport=1). LOG 
upload 12 Failed to import /tmp/phpwnzvRE-uploaded from /tmp/phpwnzvRE-uploaded 
into gold 
8B9DEC2B11954542F0477B0753508DA1AE1D25CE.2BD616FFA4D43BCE5CB9C8BCD294B6AB.247850297
 The file has been uploaded. It is upload #12.

# ls /tmp
ossology-configs.A14814  fossology-configs.sG2988  random.vintelaflush
fossology-configs.A14980  fossology-configs.T20759  updatecron.bak
fossology-configs.Ah7621  fossology-configs.tT7567  vmware-config0
fossology-configs.b17067  fossology-configs.v21272  vmware-config1
fossology-configs.c11086  fossology-configs.w22920  vmware-config2
fossology-configs.II2844  fossology-configs.y25373
fossology-configs.M17024  fossology-configs.Z16985


Thanks,
Bennis


___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] FW: Error while uploading

2009-05-22 Thread Bob Gobeille

Hi Bennis,
Off the top of my head, a few things come to mind:

1) your scheduler is in some loop

Do a top and see if fossology_scheduler is using lots of cpu time.

and/or

2) you need to do a vacuum analyze on your database

and/or

3) you are memory starved.

and/or

4) your postgresql statement timeout is set very low

In postgresql.conf the statement_timeout variable

and/or

5) your disk performance is poor (perhaps due to other processes)


Bob Gobeille


On May 22, 2009, at 9:37 AM, Laser, Mary wrote:




From: Abraham Bennis [mailto:abrahamben...@johndeere.com]
Sent: Thursday, May 21, 2009 12:32 PM
To: Laser, Mary
Subject: RE: Error while uploading

Thanks, I changed the permission as recommended.  Now I could upload  
the files. I am able to run a license analysis for small file but I  
am getting another error now. Please see details below and let me  
know how to proceed.


# ERROR: DBaccess(7): ERROR:  canceling statement due to statement  
timeout


ERROR: DBaccess timeout: 'SELECT DISTINCT(pfile_pk) as Akey,
pfile_sha1 || '.' || pfile_md5 || '.' || pfile_size AS A
FROM uploadtree,pfile
WHERE uploadtree.pfile_fk = pfile.pfile_pk
   AND pfile_mimetypefk is NULL AND upload_fk = '38'
LIMIT 5000;'
WARNING: scheduler is running slow.  It took 813 seconds to check  
agent status: Thu May 21 09:13:39 2009
ERROR: DBaccess(7): ERROR:  canceling statement due to statement  
timeout


ERROR: DBaccess timeout: 'SELECT DISTINCT(pfile_pk) as Akey,
pfile_sha1 || '.' || pfile_md5 || '.' || pfile_size AS A
FROM uploadtree,pfile
WHERE uploadtree.pfile_fk = pfile.pfile_pk
   AND pfile_mimetypefk is NULL AND upload_fk = '38'
LIMIT 5000;'
WARNING: scheduler is running slow.  It took 599 seconds to check  
agent status: Thu May 21 09:23:38 2009
ERROR: DBaccess(7): ERROR:  canceling statement due to statement  
timeout


ERROR: DBaccess timeout: 'SELECT DISTINCT(pfile_pk) as Akey,
pfile_sha1 || '.' || pfile_md5 || '.' || pfile_size AS A
FROM uploadtree,pfile
WHERE uploadtree.pfile_fk = pfile.pfile_pk
   AND pfile_mimetypefk is NULL AND upload_fk = '38'
LIMIT 5000;'
ERROR: DBaccess(7): ERROR:  syntax error at or near . at character  
323


Thanks,
Bennis

From: Laser, Mary [mailto:mary.la...@hp.com]
Sent: Monday, May 18, 2009 11:04 PM
To: Abraham Bennis; fossology@fossology.org
Subject: RE: Error while uploading

Hi Bennis,
In an earlier email (attached) you mentioned you were using a multi- 
system setup.  Is this still the case?  This is a VERY important  
distinction.  Please open the attached email, follow the  
instructions therein and let me know your result.


Thanks,
Mary

From: Abraham Bennis [mailto:abrahamben...@johndeere.com]
Sent: Monday, May 18, 2009 10:38 AM
To: Laser, Mary; fossology@fossology.org
Subject: Error while uploading

I am not able to upload files for license analyzing. Please see the  
error below. At the same time I am not seeing the folder called  
gold   files.  Please advice.



--
ERROR upload 12 Failed to import file into the repository  
(RepImport=1). LOG upload 12 Failed to import /tmp/phpwnzvRE- 
uploaded from /tmp/phpwnzvRE-uploaded into gold  
8B9DEC2B11954542F0477B0753508DA1AE1D25CE. 
2BD616FFA4D43BCE5CB9C8BCD294B6AB.247850297 The file has been  
uploaded. It is upload #12.


# ls /tmp
ossology-configs.A14814  fossology-configs.sG2988  random.vintelaflush
fossology-configs.A14980  fossology-configs.T20759  updatecron.bak
fossology-configs.Ah7621  fossology-configs.tT7567  vmware-config0
fossology-configs.b17067  fossology-configs.v21272  vmware-config1
fossology-configs.c11086  fossology-configs.w22920  vmware-config2
fossology-configs.II2844  fossology-configs.y25373
fossology-configs.M17024  fossology-configs.Z16985


Thanks,
Bennis

ATT1.txt


___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology