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

clearinghouse initializes multiple times #15

Closed
tcmitchell opened this issue Jan 24, 2017 · 1 comment
Closed

clearinghouse initializes multiple times #15

tcmitchell opened this issue Jan 24, 2017 · 1 comment
Assignees

Comments

@tcmitchell
Copy link
Member

tcmitchell commented Jan 24, 2017

After the WSGI fix we are still seeing a handful of initialization log messages per restart of httpd:

After a restart at 10:45 a.m.:

01/24/2017 10:45:33:INFO    :chapi:CH_SERVER: INITIALIZED CH_SERVER
01/24/2017 10:45:34:INFO    :chapi:CH_SERVER: INITIALIZED CH_SERVER
01/24/2017 10:46:47:INFO    :chapi:CH_SERVER: INITIALIZED CH_SERVER

Googling for "wsgi one time global initialization" found a response by Graham Dumpleton, the WSGI developer:

http://stackoverflow.com/questions/6221851/loading-a-file-just-once-on-initialization-of-python-script-using-mod-wsgi-and-b

Determine if this needs to be addressed. If it does need to be addressed, use mock-ch to experiment with solutions.

@tcmitchell
Copy link
Member Author

@tcmitchell tcmitchell self-assigned this Jan 25, 2017
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

1 participant