Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

too many open files #21

Closed
hughht5 opened this issue Sep 24, 2012 · 5 comments
Closed

too many open files #21

hughht5 opened this issue Sep 24, 2012 · 5 comments

Comments

@hughht5
Copy link
Contributor

hughht5 commented Sep 24, 2012

Hi,

I get the following error when trying to start up my server. Do I literally just have too many blog posts? I have just over 500.

Error reading article. Err: Error: EMFILE, too many open files 'blog_repo/articles/1348072156000_654803.txt'

@guyht
Copy link
Owner

guyht commented Sep 24, 2012

500 should be fine... not seen that error before, might be a bug. Are you
able to reproduce it?

On 24 September 2012 02:58, Hugh Halford-Thompson
notifications@github.comwrote:

Hi,

I get the following error when trying to start up my server. Do I
literally just have too many blog posts? I have just over 500.

Error reading article. Err: Error: EMFILE, too many open files
'blog_repo/articles/1348072156000_654803.txt'


Reply to this email directly or view it on GitHubhttps://github.com//issues/21.

@hughht5
Copy link
Contributor Author

hughht5 commented Sep 24, 2012

Yeah - every time I try to start it.

@guyht
Copy link
Owner

guyht commented Sep 24, 2012

Its possible that glog is not releasing file handlers after it has read the
files, or that it is trying to read too many files asynchronously. Might
be worth trying to load the files synchronously and releasing the file
handler after each file has been loaded.

On 24 September 2012 09:27, Hugh Halford-Thompson
notifications@github.comwrote:

Yeah - every time I try to start it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-8825031.

@hughht5
Copy link
Contributor Author

hughht5 commented Sep 24, 2012

too many files open asynchronously I think is the issue. I'll try the sync
version.

Mr Hugh Halford-Thompson
+44 (0)7789231917 - UK mobile
hughht5@gmail.com

http://www.techcrunchlite.com/

4 Quilting Court
Garter Way
London SE16 6XF
UK

Le Grand Gennetay
49640 Morrannes
France

On 24 September 2012 17:52, Guy Halford-Thompson
notifications@github.comwrote:

Its possible that glog is not releasing file handlers after it has read
the
files, or that it is trying to read too many files asynchronously. Might
be worth trying to load the files synchronously and releasing the file
handler after each file has been loaded.

On 24 September 2012 09:27, Hugh Halford-Thompson
notifications@github.comwrote:

Yeah - every time I try to start it.


Reply to this email directly or view it on GitHub<
https://github.com/guyht/Glog/issues/21#issuecomment-8825031>.


Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-8825908.

@hughht5 hughht5 closed this as completed Oct 2, 2012
@hughht5
Copy link
Contributor Author

hughht5 commented Oct 2, 2012

sync worked... thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants