climateprediction.net (CPDN) home page
Thread 'start_timer_thread(): CreateThread() failed.'

Thread 'start_timer_thread(): CreateThread() failed.'

Message boards : Number crunching : start_timer_thread(): CreateThread() failed.
Message board moderation

To post messages, you must log in.

AuthorMessage
Glenn Carver

Send message
Joined: 29 Oct 17
Posts: 1049
Credit: 16,432,494
RAC: 17,331
Message 70489 - Posted: 20 Feb 2024, 22:51:48 UTC

Some tasks are showing this error in the stderr log on the task webpage:
17:54:18 (11744): start_timer_thread(): CreateThread() failed, errno 0

It shouldn't cause task to fail. But I wanted to add a note of explanation.

This message comes from the WaH app but it's generated from the boinc library code rather than any CPDN code. The boinc code is trying to create a new process but can't because the amount of memory it requires is not available. This is not necessarily because of lack of total memory, but more a lack of 'contiguous memory'. Memory fragmentation (analogous to disk fragmentation) can be a problem for programs that require larger blocks, which is a feature of the CPDN models.

Memory fragmentation in Windows is a topic with lengthy discussions online. It usually requires careful programming, but can also arise when machines are busy.
---
CPDN Visiting Scientist
ID: 70489 · Report as offensive     Reply Quote

Message boards : Number crunching : start_timer_thread(): CreateThread() failed.

©2024 cpdn.org