Re: fop error - Too many open files
usando ulimit -n 64000 aumentamos o numero de arquivos, resolve solve the problem J.Pietschmann wrote: Elton Simões Baptista wrote: [EMAIL PROTECTED] dbf]$ [EMAIL PROTECTED] dbf]$ fop.sh cat-scania.fo -pdf cat-scania.pdf Your JRE seems to have difficulties with disposing unused File objects in time. Well, maybe FOP has indeed an object leak, it's quite hard to tell from a quick glance at the code. Some possible solutions: - Track down the part in the JPG reader after which the all data has been read, and close the connection explicitely - Convert the images into another format, like GIF or BMP, which is processed differently and wont have the same problem. In particular you'll probably get quite different effects if you use GIF images. - Increase the number of file handles for your user processes, or the hard file handle limit in the kernel. Reboot. - Render the document piecewise, and use another PDF library like iText to concat the pieces. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Elton Simões Baptista elton at cipec com br Cipec Autopeças Ltda Fone: +55 19 3834.9817 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
fop error - Too many open files
[EMAIL PROTECTED] dbf]$ [EMAIL PROTECTED] dbf]$ fop.sh cat-scania.fo -pdf cat-scania.pdf -- Elton Simões Baptista elton at cipec com br Cipec Autopeças Ltda Fone: +55 19 3834.9817 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [INFO] [2] [INFO] [1] [INFO] [2] [INFO] [3] [INFO] [4] [INFO] [5] [INFO] [6] [INFO] [7] [INFO] [8] [INFO] [9] [INFO] [10] [INFO] [11] [INFO] [12] [INFO] [13] [INFO] [14] [INFO] [15] [INFO] [16] [INFO] [17] [INFO] [18] [INFO] [19] [INFO] [20] [INFO] [21] [INFO] [22] [INFO] [23] [INFO] [24] [INFO] [25] [INFO] [26] [INFO] [27] [INFO] [28] [INFO] [29] [INFO] [30] [INFO] [31] [INFO] [32] [INFO] [33] [INFO] [34] [INFO] [35] [INFO] [36] [INFO] [37] [INFO] [38] [INFO] [39] [INFO] [40] [INFO] [41] [INFO] [42] [INFO] [43] [INFO] [44] [INFO] [45] [INFO] [46] [INFO] [47] [INFO] [48] [INFO] [49] [INFO] [50] [INFO] [51] [INFO] [52] [INFO] [53] [INFO] [54] [INFO] [55] [INFO] [56] [INFO] [57] [INFO] [58] [INFO] [59] [INFO] [60] [INFO] [61] [INFO] [62] [INFO] [63] [INFO] [64] [INFO] [65] [INFO] [66] [INFO] [67] [INFO] [68] [INFO] [69] [INFO] [70] [INFO] [71] [INFO] [72] [INFO] [73] [INFO] [74] [INFO] [75] [INFO] [76] [INFO] [77] [INFO] [78] [INFO] [79] [INFO] [80] [INFO] [81] [INFO] [82] [INFO] [83] [INFO] [84] [INFO] [85] [INFO] [86] [INFO] [87] [INFO] [88] [INFO] [89] [INFO] Parsing of document complete, stopping renderer [ERROR] Error while reading image file:/cipec/imagens/261255.jpg: Error while loading image file:/cipec/imagens/261255.jpg : class java.io.FileNotFoundException - /cipec/imagens/261255.jpg (Too many open files) [ERROR] Error while reading image file:/cipec/imagens/271148.jpg: Error while loading image file:/cipec/imagens/271148.jpg : class java.io.FileNotFoundException - /cipec/imagens/271148.jpg (Too many open files) [ERROR] Error while reading image file:/cipec/imagens/297754.jpg: Error while loading image file:/cipec/imagens/297754.jpg : class java.io.FileNotFoundException - /cipec/imagens/297754.jpg (Too many open files) [ERROR] Error while reading image file:/cipec/imagens/312216.jpg: Error while loading image file:/cipec/imagens/312216.jpg : class java.io.FileNotFoundException - /cipec/imagens/312216.jpg (Too many open files) [ERROR] Error while reading image file:/cipec/imagens/312217.jpg: Error while loading image file:/cipec/imagens/312217.jpg : class java.io.FileNotFoundException - /cipec/imagens/312217.jpg (Too many open files) [ERROR] Error while reading image file:/cipec/imagens/312218.jpg: Error while loading image file:/cipec/imagens/312218.jpg : class java.io.FileNotFoundException - /cipec/imagens/312218.jpg (Too many open files) [ERROR] Error while reading image file:/cipec/imagens/312219.jpg: Error while loading image file:/cipec/imagens/312219.jpg : class java.io.FileNotFoundException - /cipec/imagens/312219.jpg (Too many open files) [ERROR] Error while reading image file:/cipec/imagens/312220.jpg: Error while loading image file:/cipec/imagens/312220.jpg : class java.io.FileNotFoundException - /cipec/imagens/312220.jpg (Too many open files) [ERROR] Error while reading image file:/cipec/imagens/312221.jpg: Error while loading image file:/cipec/imagens/312221.jpg : class java.io.FileNotFoundException - /cipec/imagens/312221.jpg (Too many open files) [ERROR] Error in XObject : Error while loading image file:/cipec/imagens/261255.jpg : class java.io.FileNotFoundException - /cipec/imagens/261255.jpg (Too many open files) [ERROR] Error in XObject : Error while loading image file:/cipec/imagens/271148.jpg : class java.io.FileNotFoundException - /cipec/imagens/271148.jpg (Too many open files) [ERROR] Error in XObject : Error while loading image file:/cipec/imagens/297754.jpg : class java.io.FileNotFoundException - /cipec/imagens/297754.jpg (Too many open files) [ERROR] Error in XObject : Error while loading image file:/cipec/imagens/312216.jpg : class java.io.FileNotFoundException - /cipec/imagens/312216.jpg (Too many open files) [ERROR] Error in XObject : Error while loading image file:/cipec/imagens/312217.jpg : class java.io.FileNotFoundException - /cipec/imagens/312217.jpg (Too many open files) [ERROR] Error in XObject : Error while loading image file:/cipec/imagens/312218.jpg : class java.io.FileNotFoundException - /cipec/imagens/312218.jpg (Too many open files) [ERROR] Error in XObject : Error while loading image file:/cipec/imagens/312219.jpg : class java.io.FileNotFoundException - /cipec/imagens/312219.jpg (Too many open files) [ERROR] Error in XObject : Error while loading image file:/cipec/imagens/312220.jpg : class java.io.FileNotFoundException - /cipec/imagens/312220.jpg (Too many open files) [ERROR] Error in XObject : Error while loading image file:/cipec/imagens/312221.jpg : class java.io.FileNotFoundException - /cipec/imagens/312221.jpg (Too
Re: fop error - Too many open files
Elton Simões Baptista wrote: [EMAIL PROTECTED] dbf]$ [EMAIL PROTECTED] dbf]$ fop.sh cat-scania.fo -pdf cat-scania.pdf Your JRE seems to have difficulties with disposing unused File objects in time. Well, maybe FOP has indeed an object leak, it's quite hard to tell from a quick glance at the code. Some possible solutions: - Track down the part in the JPG reader after which the all data has been read, and close the connection explicitely - Convert the images into another format, like GIF or BMP, which is processed differently and wont have the same problem. In particular you'll probably get quite different effects if you use GIF images. - Increase the number of file handles for your user processes, or the hard file handle limit in the kernel. Reboot. - Render the document piecewise, and use another PDF library like iText to concat the pieces. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]