1

Help!

We run 7.3.5... it has run fine for some moons now.

Today we log in, and have this error:

"Error in plugin Filter Export "

Details:

System.IO.FileLoadException: Could not load file or assembly 'FogCreek.Plugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d8367ba9769b01ac' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)
File name: 'FogCreek.Plugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d8367ba9769b01ac'

Server stack trace: 
   at System.ModuleHandle.ResolveMethod(Int32 methodToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount)
   at System.ModuleHandle.ResolveMethodHandle(Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.CustomAttributeData..ctor(Module scope, CustomAttributeRecord caRecord)
   at System.Reflection.CustomAttributeData.GetCustomAttributes(Module module, Int32 tkTarget)
   at System.Reflection.CustomAttributeData.GetCustomAttributes(Assembly target)
   at System.Resources.ResourceManager.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetString(String name)
   at FogCreek.Plugins.FilterExport.FilterExport.ExportTool()
   at FogCreek.Plugins.FilterExport.FilterExport.FilterToolbarItems(Boolean fGridView)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at FogCreek.FogBugz.Plugins.Interfaces.IPluginFilterToolbar.FilterToolbarItems(Boolean fGridView)
   at FogCreek.FogBugz.__Global.Lambda_GetFilterTools_43.__Run(Plugin instance) in c:\src\FogBugz\distribution\src-Website\list.was:line 939
   at FogCreek.FogBugz.__Global.PluginFilterTools(String sType, Function`2 fxnLink) in c:\src\FogBugz\distribution\src-Website\list.was:line 964

Ahhh, I now see it is disk space related...

I can fix that.

Crappy error.

And FB should give some disk warnings by email to the admin before it DIES....

Thanks!

Fog Creek Case FC1965378

flag
3 
It would seem to me that monitoring disk space usage/availability on a server is a general sys-admin task, not the purview of a program that likely doesn't (and often shouldn't) have permissions to do those things. That being said, a more graceful error should be given, rather than failing in a ball of flames – cdeszaq Oct 22 2010 at 16:14

2 Answers

2

We access the database through .NET libraries. If there's a way to detect low disk space on the database server via the .NET libraries that we're not aware of, we'd love to know about it, and would happily run a daily check and put up an admin notification.

If you can point us at the ASP.NET function that will allow us to detect low disk space on the FogBugz web server via our IIS application, we'll happily implement that, too.

I'm not sure of the value of having one without the other, though.

The error returned was not pretty, but contained sufficient information to resolve the issue. I'll put in a feature request to catch this particular error, but considering the frequency and impact, it might be a long time before it makes sense to dedicate engineering resources to such a change.

link|flag
You are right. I am wrong. Fogbugz should not tell me why it dies, or help me prevent it from dying. Sorry about that. – sam jones Oct 28 2010 at 23:29
0

Yes.... freeing disk space resolved the issue.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.