|
Lines 43-48
import zlib
Link Here
|
| 43 |
import base64 |
43 |
import base64 |
| 44 |
import signal |
44 |
import signal |
| 45 |
import hashlib |
45 |
import hashlib |
|
|
46 |
import resource |
| 46 |
import tempfile |
47 |
import tempfile |
| 47 |
import binascii |
48 |
import binascii |
| 48 |
import datetime |
49 |
import datetime |
|
Lines 1608-1613
class UMC_HTTP_Daemon(DaemonRunner):
Link Here
|
| 1608 |
_thread_http.deamon = True |
1609 |
_thread_http.deamon = True |
| 1609 |
_thread_http.start() |
1610 |
_thread_http.start() |
| 1610 |
|
1611 |
|
|
|
1612 |
try: |
| 1613 |
resource.setrlimit(resource.RLIMIT_NOFILE, (64512, 64512)) |
| 1614 |
except (ValueError, resource.error) as exc: |
| 1615 |
CORE.error('Could not raise NOFILE resource limits: %s' % (exc,)) |
| 1616 |
|
| 1611 |
try: |
1617 |
try: |
| 1612 |
# start notifier loop |
1618 |
# start notifier loop |
| 1613 |
notifier.init(notifier.GENERIC) |
1619 |
notifier.init(notifier.GENERIC) |