Find Jobs
Hire Freelancers

Modify Python script to allow for more concurrent tasks (Debian Linux)

$30-75 USD

Cancelado
Publicado há mais de 12 anos

$30-75 USD

Pago na entrega
I have a Python script that creates multiple threads, when I generate more than 500 threads I get this output: Traceback (most recent call last): File "./[login to view URL]", line 391, in <module> [login to view URL]() File "/usr/lib/python2.6/[login to view URL]", line 474, in start _start_new_thread(self.__bootstrap, ()) [login to view URL]: can't start new thread At 500 threads I have low cpu usage and 15903092k free ram. The purpose of the script is to download websites and scan them for keywords, essentially it is a web crawler. It appears that the limiting factors are currently stack size and the global interpreter lock. This project is to: 1. Remove the requirement to change stack size and set a maximum thread limit within the code. I suggest this is done by moving aware from a threaded design, but I'm open to discussion about this. 2. Overcome the global interpreter lock limitation of one cpu. The script must run on 8+ cpus. 3. Currently certain websites cause threads to segfault or hang. You need to implement appropriate error handling to allow the script to log an error and continue.
ID do Projeto: 3635691

Sobre o projeto

4 propostas
Projeto remoto
Ativo há 13 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
4 freelancers estão ofertando em média $18 USD for esse trabalho
Avatar do Usuário
See private message.
$21,25 USD em 5 dias
5,0 (8 avaliações)
2,4
2,4
Avatar do Usuário
See private message.
$20,40 USD em 5 dias
5,0 (4 avaliações)
2,3
2,3
Avatar do Usuário
See private message.
$10 USD em 5 dias
5,0 (1 avaliação)
0,6
0,6
Avatar do Usuário
See private message.
$21,25 USD em 5 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED KINGDOM
York, United Kingdom
5,0
48
Membro desde jun. 6, 2004

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.