+1
Under review

Too many files open creates a crash

Elouan 9 years ago updated 8 years ago 10
his bug is related to an older one that has been closed. I'm opening a new one because I have a better understanding of what's going on

quite often, after I've used ubooquity for a while, I reach a state where the server stops and when I reload a page, it crashes

When I look at my log, I get something like this:

ERROR com.ubooquity.f.d - Could not list files in folder: 
java.nio.file.FileSystemException: /volume1/comics/aaaa/bbbbbb: Too many open files
      at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91) ~[na:1.8.0_101]
      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[na:1.8.0_101]
      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[na:1.8.0_101]
      etc...

Now, I've looked at the number of file handlers that ubooquity uses versus the number that my system allows. Here is how it looks:

ulimit -n
1024

OK, now I load a couple of pages inside ubooquity to look at how many handles I'm using. First time:


fs.file-nr = 4562

Now, I reload a new page (my settings are to display 20 items par page) I get this:

fs.file-nr = 4582

And this go on: everytime I reload a page, it increases the number of handler by 20 (this is consistent with the number of thumbs to read). The problem is that the number never seems to go down after that

I've continued load pages until I crashed, and I reached the following figure:

fs.file-nr = 5394

So the difference is 5394 - 4592 = 800... which is quite a lot considering I have 1024 to play with, and that I probably missed a few before the first number.

After I restarted ubooquity i went down to 4420

fs.file-nr = 4420

I fear the files are read and then never closed. So, if I increase by 20 at every-reload, and 2 or 3 people using ubooquity, it could exeed the limit within a couple of hours and this would a crash; this would explain my situation, including how it takes to crash the server

It feels there is a file-handler leak: ubooquity never seem to release the handler





+1

thumbnail quality

Telecart 9 years ago updated by Loscar 7 years ago 6

Does anyone else have rather poor quality thumbnails? If I extract the first image from the zip and rename it folder.jpg then the quality is noticeably better. Perhaps Ubooquity can run that process on its own?

+1
Answered

Ubooquity WebView for Android Phones and Tablets

Seth Chhim 9 years ago updated by Cristiam Viera Burneo (Frikor) 9 years ago 3

I have developed a small Android app for my own personal use and would like to share it. It is a simple WebView wrapper but offers two features I wanted: 1. Fullscreen Immersive Mode and 2. Swipe to turn page. I would like to ask the admins of Ubooquity if it is ok to publish this? I would like to ask considering it contains the title "Ubooquity WebView". No ads or unnecessary permissions in this package.


Image 112Image 111

+1
Started

When using "original" the top part of the page gets cut off.

rather 9 years ago updated by Tom 9 years ago 7
+1
Under review

Dc comic pages messed up

Rick Van Wijk 9 years ago updated by Domenico Vaccaro 7 years ago 6

First of all i would like to say that the program works fine as it is but it seems some comics are messed up when it comes down to the page ordering. The comics are fine when opened in other programs but it seems the web browser changes the ordering so reading the comics is not really working.


The comics are in cbr format.


Thank you!

+1
Declined

API or access to launch a scan from localhost

Hayden Jones 10 years ago updated 10 years ago 4

Hi,


I would like to be able to launch a scan of my comic directory from a script. This could be done via a web call to http://localhost/admin/scan/?rescan=true however the admin page requires authentication. Is there anyway to bypass the authentication from localhost or using an apikey?


Thanks,

+1
Planned

Double page issue

James Williams 10 years ago updated by Tom 10 years ago 2

Currently have an issue with any double page in a comic. The first page is tiny (see image) and the next is normal. This only happens one double pages not single. If I change from fit to width to height and visa versa it skips to the next page.

It doesn't matter what browser, its happening in them all.

Any ideas?



Image 52


Image 53

+1
Fixed

Next Page not working

John Pasula 10 years ago updated by Tom 10 years ago 5
Not sure what's going on, but when I click the next page button the content doesn't change.

The URL changes to:
/comics/?index=30

There's nothing appearing in the default logs either. =/
+1
Under review

Periodical management

Rugl 11 years ago updated by Tom 11 years ago 5
A great feature could be a perdiocal management system with sub index.

I follow comics issue parution and also the contents of the comics (or other type of perdiocal).
+1
Fixed

Comics not fitting to screen

James Williams 10 years ago updated by Tom 10 years ago 20
Hi,

When reading comics in Ubooquity comics only seem to zoom out to only show aboutabout a 1/4 of the size of the comic and I cannot fit the whole comic on the page. Changing the comics cover width and height in settings seems to fix/affect this but it also then changes the spacing of the thumbnails/covers in the library.

Any ideas? is there a setting anywhere to make it auto fit to width or height for reading?