nikita@nikita-roshchenko:~$ sudo service nginx start
Job for nginx.service failed. See "systemctl status nginx.service" and "journalctl -xe" for details.
nikita@nikita-roshchenko:~$ sudo tailf /var/log/nginx/error.log
2015/07/15 13:05:53 [emerg] 5274#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2015/07/15 13:05:53 [emerg] 5274#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2015/07/15 13:05:53 [emerg] 5274#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2015/07/15 13:05:53 [emerg] 5274#0: still could not bind()
2015/07/15 13:59:47 [emerg] 6401#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2015/07/15 13:59:47 [emerg] 6401#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2015/07/15 13:59:47 [emerg] 6401#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2015/07/15 13:59:47 [emerg] 6401#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2015/07/15 13:59:47 [emerg] 6401#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2015/07/15 13:59:47 [emerg] 6401#0: still could not bind()
nikita@nikita-roshchenko:~$ journalctl -xe
No journal files were found.
from memory_profiler import profile
a = []
@profile
def func():
global a
a.append("some data")
while True:
func()
@profile
def my_func():
a = [1] * (10 ** 6)
b = [2] * (2 * 10 ** 7)
del b
return a
if __name__ == '__main__':
while True:
my_func()
Благодарю за советы, очень удивительно что у меня появился apache. Но дальше я разрулю. Еще раз благодарю за советы =)