Posts by Professor Ray

21) Message boards : Questions and problems : 'undefined offset' in all_projects_list.xml (Message 34539)
Posted 6 Sep 2010 by Professor Ray
Line 2 of the file begins like this:

<b>Notice</b>: Undefined offset: 5 in <b>/home/boincadm/boinc/doc/project_list.php</b> on line <b>25</b><br />
<br />
<b>Notice</b>: Undefined offset: 5 in <b>/home/boincadm/boinc/doc/project_list.php</b> on line <b>25</b><br />
<br />
<b>Notice</b>: Undefined offset: 5 in <b>/home/boincadm/boinc/doc/project_list.php</b> on line <b>25</b><br />
<br />
<b>Notice</b>: Undefined offset: 5 in <b>/home/boincadm/boinc/doc/project_list.php</b> on line <b>25</b><br />
<br />
<b>Notice</b>: Undefined offset: 5 in <b>/home/boincadm/boinc/doc/project_list.php</b> on line <b>25</b><br />

The rest of the file appears normal XML stuff in it.
22) Message boards : Questions and problems : BOINC projects possible cause for BSOD (Message 33763)
Posted 14 Jul 2010 by Professor Ray
Lets not forget this nugget:

While its possible, I'm not leaning towards hardware issues - your box is the fashizle fo shizle - and you're right: your mobo manufacturer isn't known for the sort of prollems described. Mobo support forums should be good indicators on that.

You have a prollem thoough and its a big one too. You said:

'IMAGE_NAME: ntkrnlmp.exe'

Typically those problems can't be fixed; its in the O/S itself. Unfortunatatly the only solution I'm aware of is: reformat & reinstall.

One of the things that alarms me concerning all this is that you state your system isn't over spec V (despite being O/C'd). If you're overclocking the CPU and you haven't given it extra juice there's your prollem. If you're O/C'g the memory bus and there' no mem v control jumper on the mobo in in BIOS for that, your overdriving your memory. Perhaps the memory timings are out of spec for the O/C'd undervolt condition. Are all the mem sticks in the sytem the same type & spec? You'd think that memtest would uncover that sort of issue...

You didn't say what O/S you had. Let me guess: Vista.

How you doing with tweakin' memory management?

I've seen these sort of issues before - Lattice Project (GARLI 5.13) - and people with your sort of boxes can't get the job done. I've presentlty 262 wall-clock hours (240.5 CPU) elapsed w/89.687% WU GARLI 5.13 complete; I expect this WU to be complete around 23 Jul (and that's running 24/7). Without doubt my machine is a lame neutered wimp compared to yours. Maybe that's the prllem: you have way too much power for BOINC; you and I need to swap machines that's what I think.

You get those errors called 'PAGE_FAULT_IN_NONPAGED_AREA' you absolutely must do a checkdsk /x. Then you absolutely MUST blow away your swap file and reboot. You must absolutely set a minimum sized swap file on some other HDD (or partition) available, and then defrag using a 3rd-party defraggler of any repute so as to consolidate free space in the middle of the HDD with errors. Then you can re-create a swap file of sufficient size for your needs (see link).

In short: your swap file is screwed up, your NT kernal is screwed up; you can fix the former, the latter requires reinstall (I'm sorry). You must find the xource of the prollem - its NOT BIONC - or it WILL happen again.
23) Message boards : Questions and problems : So easy on unix, but how do I do this on windows? (Message 33762)
Posted 14 Jul 2010 by Professor Ray
You can accomplish virtually any such goal with various scripting technologies. VBScript is one such animal. Powershell is another. If you're a 'Nix guru - writing shell scripts and all that - then that's the thing to be diggin' the manual out for with respect to Windoze (not that anybody's actually respecting that and whatnot). I'm just saying. Powershell should be a pice of caeke for 'Nix gurus.

Here'x a taste of some code for the latter that would I.D. if something of interest was executing:

$FgText1 = "DarkGreen"
$FgText2 = "DarkGray"

Write-Host("==============================================================================") -foreground $FgText1;
Write-Host("BOINC checker...") -foreground $FgText1;
Write-Host("==============================================================================") -foreground $FgText1;
$ProcessToCheckFor = "'boinc.exe'";
$TotalProcessesCount = 0;

# Create a list of process handles which are running on the system
$PidList = @(Get-WmiObject win32_process -Filter "name=$ProcessToCheckFor");
$TotalProcessesCount = $PidList.length;

$PidHandleList = $PidList | Foreach-Object { $_.Handle };

Write-Host("Total {0} Processes Count: {1}" -f $ProcessToCheckFor, $TotalProcessesCount) -foreground $FgText1;

Obviously the script is not complete - I don't work for free - and as it stands its merely informative in nature; it takes no action. Obviously Powershell would need being intalled and the necessary Win, GPO and NTFS, ACL entries in place on the platform executing such script. But its not just doable, but feasible.

You could do that also with a C++ app that utiliizes a Win32 api library include.
24) Message boards : Questions and problems : Error 1816: not enough quota ? (Message 33655)
Posted 3 Jul 2010 by Professor Ray
Post edited due to previous response:

Also, check the size of your page file. I'd suggest minimimum size to be equal to amount of RAM (better yet set it to 1.5x physical RAM). Set the upper limit to max free space avaialable.

Low swap space should get you a little triangle in the system tray informing you that virtual memory is low and the swap file is being resized.

That notwithstanding, per Microsoft:

Error Message:
Not enough quota is available to process this command.

User Action:
Close some applications and try again. If you still get this message, choose System from Control Panel, then choose Virtual Memory and increase the size of your paging file.

FWIW: someobody on the interwebs with this error found that the "Dell Control Utility" installed with their "Dell Truemobile Wireless Networking" software was at fault. When it was deleted, the problem went away. Curiously enough, the wireless network continues to work fine (the affected computer being a desktop connected to the WAP by a Ethernet card/cable).

Also, check out this link: How to Troubleshoot Error Message: Not enough server storage is available to process this command While it may not appear germane, who knows?

Found the problem with the exact error number you're reporting discussed here. The suggestion was made to peruse the information at this MS Knowlegebase link.

Another suggestion is to run system file checker. A popular consensus with this error is that its resultant of virus / malware activity, specifically Backdoor.

What you need to know about infections and securing your computer
25) Message boards : Questions and problems : Error 1816: not enough quota ? (Message 33652)
Posted 3 Jul 2010 by Professor Ray
Try this:

  1. Log on to your system with an administrator account, for example, owner or administrator.
  2. Click Start, and then click My Computer.
  3. Right-click on the system drive (usually drive C), and then click Properties. *Click the Quota tab.
  4. Either increase the amount of disk space available to users by changing the "Limit disk space to" option or disable the Disk quota.
  5. Don't let kids play on the growed-up's computer

Let us know how you get on with that.

26) Message boards : Questions and problems : Error 1816: not enough quota ? (Message 33638)
Posted 3 Jul 2010 by Professor Ray
Is this a stand-alone primary desktop machine, or are you installing onto some sort of network domain server?

I'd never tolerate what you describe for 5 minutes; my system would be crunching the orginal data - with the orginal host client version - after that.

Furthermore, the error messages seem to imply that BOINC is executing on a virtual box.
27) Message boards : Questions and problems : BOINC memory constraint - GPU projects (Message 33621)
Posted 1 Jul 2010 by Professor Ray
This thread seems to put the kaibosch (sp?) to the notion of BOINC's utilization of shared system memory: While the display driver may utilize shared system memory to augment the texture buffer for textures that can't fit in the local frame-buffer, CUDA implements the graphic processing hardware for computation purposes. Since the mission, goals and objectives of CUDA apps are entirely different from rendering of 3D shapes onto a 2D surface, the procedures that CUDA relies upon are likewise entirely different.

I doubt that any other projects utilize shared system memory because prior to CUDA 2.2, CUDA kernels could not access host system memory directly. For that reason, CUDA programmers used the design pattern:

  1. Move data to the GPU.
  2. Perform calculation on GPU.
  3. Move result(s) from the GPU to host.

With the release of CUDA 2.2, however, that paradigm has changed whereby new APIs allow the mapping of host memory into device memory via cudaHostAlloc (or cuMemHostAlloc in the CUDA driver API).

These functions provide a new memory type that supports:

  • "Portable" pinned buffers that are available to all GPUs.
  • "Mapped" pinned buffers that map host memory into the CUDA address space and provide asynchronous transparent access to the data without requiring an explicit programmer initiated copy.

    Setting aside integrated CUDA capable graphic adaptors that supplement their VRAM with system memory, for discrete GPUs mapped pinned buffers are only a performance win in certain cases though. Since the memory is not cached by the GPU:

    • It should be read or written exactly once.
    • The global loads and stores that read or write the memory must be coalesced to avoid a 2x-7x PCIe performance penalty.
    • At best, it will only deliver PCIe bandwidth performance, but this can be 2x faster than cudaMemcpy because mapped memory is able exploit the full duplex capability of the PCIe bus by reading and writing at the same time. A call to cudaMemcpy can only move data in one direction at a time (i.e., half duplex).

      Moreover, a drawback of the current CUDA 2.2 release is that all pinned allocations are mapped into the GPU's 32-bit linear address space, regardless of whether the device pointer is needed or not. (NVIDIA indicates this will be changed to a per-allocation basis in a later release.)

  • Write-Combined (WC) memory that can provide higher performance:

    • Due to WC memory being neither cached, nor cache coherent, it isn't 'snooped' during transfers across the PCI Express bus. According to NVIDIA's notes - "CUDA 2.2 Pinned Memory APIs" - WC memory may perform as much as 40% faster on certain PCI Express 2.0 implementations.

    • It may increase the host processor(s) write performance to host memory because individual writes are first combined (via an internal processor write-buffer) so that only a single burst write containing many aggregated individual writes need be issued. (Intel claims they have observed actual performance increases of over 10x but this is not typical). For more information, please see the Intel publication: Combining Memory Implementation Guidelines

SOURCE: CUDA 2.2 Changes the Data Movement Paradigm

28) Message boards : Questions and problems : Suspend - memory resident (Message 33619)
Posted 1 Jul 2010 by Professor Ray
I'm unclear what you mean with
GPU applications are always removed from GPU RAM when suspended, but for when BOINC is running benchmarks. The "Leave applications in memory" switch doesn't have any effect on this. That one is for CPU applications using system RAM only.

Sounds like the app remains resident in VRAM only when BOINC runs benchmarks.

However, this nugget is buried in the cc_config.xml portion of the CUDA FAQ:

There is a problem when you have your preferences set to Leave applications in memory while suspended. Any task still in the video card's RAM will stay there until you resume BOINC. Although it will not use your GPU, the amount of memory that a Seti CUDA tasks takes up (200MB+ of the VRAM) may still have impact on your other activities.

Not meaning to trip you up, but I seen the link in your signature and checked it out. While I'd already perused that tome of knowlege, I overlooked the aforementioned citation because cc_config.xml didn't seem to be germane to my question.

EDIT: found Rich Haselgrove's response to you here:

Succinctly: VRAM is always unloaded on suspend except for benchmarks. Ergo, the FAQ needs updating.
29) Message boards : Questions and problems : Suspend - memory resident (Message 33617)
Posted 1 Jul 2010 by Professor Ray
Can anybody tell me what happens to GPU process that is suspended - if BOINC is snoozed, project manually suspended, or scheduler begins crunching on different GPU task due to switch task config - if leave memory resident option is checked?

Clearly there are implications concerning that regarding the AGP aperature segment, TurboCache (including ATI equivalent), system video memory, and shared system memory allocations.
30) Message boards : Questions and problems : article: Suit Over Faulty Computers Highlights Dell’s Decline (Message 33616)
Posted 30 Jun 2010 by Professor Ray
EDIT: post redacted due to posting nonsense without having read the article.
31) Message boards : Questions and problems : Suspend - memory resident (Message 33614)
Posted 30 Jun 2010 by Professor Ray
I wonder what happens if the system is hibernated. Based on the rules it would appear that the system state, RAM and page-file state, is written to disk. Restarting from hibernate would seem to resume computation from the point of hibernation.

This may be useful for those crunching interminahly long WU w/out checkpoint and a power down is unavoidable.
32) Message boards : Questions and problems : Suspend - memory resident (Message 33612)
Posted 30 Jun 2010 by Professor Ray
Empirical evidence suggests that suspend - leave memory resident while suspended - computation is resumed from the same state as at the point of suspend.
33) Message boards : Questions and problems : Cannot connect to localhost (Message 33611)
Posted 30 Jun 2010 by Professor Ray
If you're running Comodo, ensure that BOINC is not being sandboxed. The sandbox is a virtual environment and BOINC will never work there.

The easiest way to bypass Comodo is to set the security level for anti-virus, firewall, Defense+ and sandbox each to 'disabled'; right click the Comodo icon in the system tray and navigate the context menu displayed.

I'm running Comodo and if you establish the correct internet and computer security rules it'll work fine; see the 'firewall' thread for suggestions on how to set it up.

Furthermore, anything that Comodo may be inderdicting with respect to BOINC will be evident in the Defense+ Events and in the Firewall Events logs. The former with respect to specific apps and the specific action attempted, the latter with respect to attempts to initiate network communication. The logs are extremely specific with regards to what exactly is being attempted and useful for diagnostic purposes.

Clearly the various components of BOINC need permission to perform the actions on the host, and secondly all the appropriate BOINC modules require network access to the internet (and internally), as necessary, for BOINC functionality.

For example, if a BOINC wants to connect to a project an essential function will be DNS lookup (resolving IP address from host name), it requires DNS Client Service access rights. Deny that and the firewall will never complain about BOINC attempting to establish UDP outbound to the DNS server destination port 53; the process will be blocked from even initiating a DNS internet connection. However, before it even gets to that point, BOINC needs to be able to talk amongst itself. This is essentially a networking issue pertaining to localhost, i.e., to

Sounds like you and Comodo have to get to know each other better.
34) Message boards : Questions and problems : BOINC memory constraint - GPU projects (Message 33600)
Posted 30 Jun 2010 by Professor Ray
Thanx for the reply.

Its come to my attention that AGP aperture size is only relevent for systems that actually have an AGP port. Duh, huh? Howver, PCIe is a different animal and how Vista handles memory is not even a four legged horse shaped animal in comparison to its ancestors.

Am I understanding correctly that, setting aside any TurboCache (or its ATI equivalent) and/or shared system memory for the graphic sub-system issue, GPU projects essentially run outside of BOINC's purvuew with regards to memory constraints? That is to say: BOINC memory constraints apply exclusively to CPU dedicated projects.

That could be an issue for large memory footprint projects; this especially for hosts with multi-cored processors (or those single cored processors with hyperthreading functionality) that are processing WU's for projects in parallel; and also given Vista's propensity for using all available memory.

35) Message boards : Questions and problems : BOINC memory constraint - GPU projects (Message 33598)
Posted 29 Jun 2010 by Professor Ray
I only have one question:

  1. Do GPU projects utilize Graphic Aperture virtual address space that normally is utilized by the graphics adapter for rendering of textures that exceed the limitation imposed by insufficient discrete VRAM
  2. If so, does the memory constraint specified in preferences include shared system memory, i.e., the virtual address pool utilized by the video subsystem as an adjunct to discrete on-board VRAM?

36) Message boards : Questions and problems : BOINC firewall rules (Message 33587)
Posted 29 Jun 2010 by Professor Ray
Oh, BONC my head - and facepalm - you are correct. Not only that I didn't notice the missing 'i' initially.

Anywys, the reference is to computer security, access rights - protected files/folders - for C:\Windows\BOINC.scr Its something that Comodo configured automatically based on some alert to which I replied, 'allow' and 'remember this'.

However, now that you bring that up, I see that both of those have the same access right specified. Since there's nothing unique between the two, I can establish that access right for the BOINC SCR file-group, delete the separate entries for BOINCScr.exe & BOINC.scr; the same thing will be accomplished with one profile rather than separate enties for each app.
37) Message boards : Questions and problems : BOINC firewall rules (Message 33582)
Posted 28 Jun 2010 by Professor Ray
I've had to establishe network & computer security rules for Comodo Internet Security and so have had to address this issue. I created a zone for BOINC hosts. The host names can be gleaned from the BOINC message list. For example, the associated URL message for Rosetta is:

6/27/2010 10:35:02 PM rosetta@home URL; Computer ID 1235227; resource share 100

The entry in the BOINC host zone is: and I added into the BOINC Host-zone the URL host name for each project I participate in.

Then there are zones created for the various BOINC data-servers, either WU or result. Not every project requires a unique zone for this. However, I've discovered that the following zones are necessary:


Range -

Range -
BOINC net:

range -
range -

NOTE: the latter zone is utilized cross project to ascertain internet connectivity and determine whether any arbitrary project may be down or not. All IP in that zone resolve to 1e100 domain names. Of the 19 projects I participate in, those are the only proeject specific zones necessary.

I've created the following file-groups:




BOINC.exe needs these permissions:

UDP out from NIC to DNS src port any to port 53
TCP out from NIC to BOINC Hosts src port any to port 80
TCP out from NIC to Einstein Data src port any to port 80
TCP out from NIC to Lattice Data src port any to port 80
TCP out from NIC to Rosetta Data src port any to port 80
TCP out from NIC to SETI Data src port any to port 80
TCP out from NIC to BOINC Net src port any to port 80

BOINC SCR file-group needs these permissions:

TCP out from local_0 to local_127 src port-set BOINC to dest port 31416

The BOINC src port-set is defined as:


NOTE: Local 0 is a zone defined as and local_127 is a zone defined as Every once in a while the BOINC SCR file group wants to establish TCP out from local_0 to local_127 with src port not in the list. I allow it and add the new port into the port-set.

The 'BOINC Projects' file-group is configured as 'installer/updater' - canned Comodo permissions profile.

E:\BOINC\BOINCmgr.exe has execute permission to the following:

BOINC SCR (file-group)
C:\Program Files\Internet Explorer\iexplorer.exe

E:\BOINC\BOINCmgr.exe has WINDOWS\WinEvent hooks permissions for E:\BOINC\BOINCmgr.exe

E:\BOINC\BOINCmgr.exe has process termination permission for:


E:\BOINC\BOINCmgr.exe has Windows Messages permission

E:\BOINC\BOINCmgr.exe has permission to the following protected registry keys:


E:\BOINC\BOINCmgr.exe has permission to \Device\Afd\Endpoint
E:\BOINC\BOINCmgr.exe has DNS Client Services permission

BOINC.exe has execute permissions to 'BOINC Projects'
BOINC.exe has termination permissions to 'BOINC Projects'
BOINC.exe has permissio to the following protected registry keys:


BOINC.exe has permission to the following folders:


BOINC.exe is permitted DNS Client Services

E:\BOINC\BOINCscr.exe has permission to \Device\Afd\Endpoint

C:\WINDOWS\BONC.scr has permission to \Device\Afd\Endpoint

BOINC pretty much starts, stops, executes any project, updates and suspends any project I participate in. Furthermore, connection to all BOINC web-sites through the BOINC Manager is unhindered. The only aspects of BOINC that are not comprehensively configured are BOINC graphics (per project) and the screen saver; I do not use these features. There may be computer security configuration issues specific to each individual graphics executable, but those are easily enough addressed by clicking 'allow' and 'remember this' whenever the associated Comodo alert presents itself.

I'm virtually un-bothered by any alerts from Comodo whatsoever (except for occasional new ports alluded respecting the BOINC SCR file-set, and a new IP connection attempt that resolves to an 1e100 domain name). Also, every once in a great while, a new IP for one of the BOINC projects manifests itself.
38) Message boards : Questions and problems : Cannot connect to localhost (Message 33532)
Posted 26 Jun 2010 by Professor Ray
Firstly, ensure that and and port 31416 are allowed permissions for BOINC.exe, BOINCmgr.exe, BOINCcmd.exe, BOINCscr and c:\Windows\boinc.scr. Ensure that the path to these executables is specified correctly in Win Firewall.

Secondly, for 'WINSOCK ERROR 10061' and/or no project running in task manager and boinc run without calculate any WU:

  1. Terminate the 2 BOINC processes: boincmgr & boinctray in Process manager, i.e., <ctrl>+<Shift>+<Esc> (click image name to sort alphabetically)
  2. Navigate to C:\Program Files\Boinc (or where you've installed BOINC) in Windows Explorer
  3. right click and select Properties for BOINC Programs folder
  4. remove Read only and Apply to all subsdirectory.
  5. Restart boinc and it run again

39) Message boards : Questions and problems : idle / in-use (Message 33531)
Posted 26 Jun 2010 by Professor Ray
I believe I figured it out. From the Wiki (

Use at most X% of memory when computer is in use

Limits the amount of RAM used by BOINC applications when your computer is in use (i.e. when there has been recent mouse or keyboard activity). Setting this to a low value lets you run BOINC all the time without impacting your computer's performance. The Default is 50%. - [emphasise mine]

It would appear then that a WU with a 'working set' size larger than the 'in-use' memory threshold would cause the WU to either swap out - 'keep WU memory resident when suspended' - or outright terminate (and begin/resume another WU if available to process), when either mouse / keyboard activity occurs. If the latter condition arises, I'd assume the status for the terminated / swapped-out WU would be 'waiting for memory'.
40) Message boards : Questions and problems : idle / in-use (Message 33530)
Posted 26 Jun 2010 by Professor Ray
What distinguishes between the two states 'idle' and 'in-use'? Is this some sort of system defined criterion or is it dependent on the CPU load defined in BOINC, i.e., 'suspend if CPU exceeds X%' value?

Previous 20 · Next 20

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.