I'm trying to run FreeDMS V 0.81-020726 on SuSE 8.0:
The ImageMagick tool 'convert' for creating the previews seemes to consume such an amount of CPU time for a normal sized PDF-file that the whole system (GHz Athlon) hangs ... and if generated, where to find those thumbnails on the FreeDMS webpages?!? Is there a way to tell 'convert' to just produce previews for the first pages of the document?
Another problem uploading PDF-files comes up with documents of about 1.5MB in size: small files are added to the database correctly but on files bigger in size (90 pages is not a realy "big" document, isn't it?) 'DBD::mysql::st' does produce the message 'execute failed: MySQL server has gone away at dms.pl line 671.' in the apache log.
Any suggestions?!?
THX
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can disable the Preview setting in the FreeDMS.cfg. In this File you also can change the command for "convert". Look for $config{"converter"}{"Linux"}{preview} to change the command line or $config{"display"}{"previews"} to enable/disable previews.
Cause the size of stored Documents: Look for the Variable set-variable=max_allowed_packet=1M and change it to set-variable=max_allowed_packet=16M inf the mysql config file. The configfile is /etc/my.cnf.
Hope this helps, regards Jochen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-12-16
The 'preview' was enabled for detailed view but no thumbnail was shown on the webpages ... since i do not need this feature for now, disabling the previews does work for me to also get around the 'convert'-problem.
reconfigured the mysql config, files of more than 1MB of data do work fine now.
thanks a lot for your rapid answer and detailed help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to run FreeDMS V 0.81-020726 on SuSE 8.0:
The ImageMagick tool 'convert' for creating the previews seemes to consume such an amount of CPU time for a normal sized PDF-file that the whole system (GHz Athlon) hangs ... and if generated, where to find those thumbnails on the FreeDMS webpages?!? Is there a way to tell 'convert' to just produce previews for the first pages of the document?
Another problem uploading PDF-files comes up with documents of about 1.5MB in size: small files are added to the database correctly but on files bigger in size (90 pages is not a realy "big" document, isn't it?) 'DBD::mysql::st' does produce the message 'execute failed: MySQL server has gone away at dms.pl line 671.' in the apache log.
Any suggestions?!?
THX
The Preview Image is in the "Details" View. At this time i cannot test this, i am very busy, sorry. For ImageMagick help try this:
http://www.imagemagick.org/www/convert.html
You can disable the Preview setting in the FreeDMS.cfg. In this File you also can change the command for "convert". Look for $config{"converter"}{"Linux"}{preview} to change the command line or $config{"display"}{"previews"} to enable/disable previews.
Cause the size of stored Documents: Look for the Variable set-variable=max_allowed_packet=1M and change it to set-variable=max_allowed_packet=16M inf the mysql config file. The configfile is /etc/my.cnf.
Hope this helps, regards Jochen
The 'preview' was enabled for detailed view but no thumbnail was shown on the webpages ... since i do not need this feature for now, disabling the previews does work for me to also get around the 'convert'-problem.
reconfigured the mysql config, files of more than 1MB of data do work fine now.
thanks a lot for your rapid answer and detailed help!