threads,memory and resources

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zoneal@yahoo.com

    #1

    threads,memory and resources

    i have a code with 10 threads, each thread executes a loop, in each
    loop it executes a nslookup command shell ( 3500's nslookup aprox), but
    after a lot of iterations, one message apperars that it says:

    "not enough resources... any idea???

  • m.posseth

    #2
    Re: threads,memory and resources


    it would probabaly be a better design to create a process que with one
    worker thread ( background thread )

    or you might be running your proggy on a server farm ??


    regards

    Michel. Posseth [MCP]



    <zoneal@yahoo.c om> wrote in message
    news:1129469516 .281888.227530@ g47g2000cwa.goo glegroups.com.. .[color=blue]
    >i have a code with 10 threads, each thread executes a loop, in each
    > loop it executes a nslookup command shell ( 3500's nslookup aprox), but
    > after a lot of iterations, one message apperars that it says:
    >
    > "not enough resources... any idea???
    >[/color]


    Comment

    Working...