Woke up to this….any ideas if I can correct without restoring from backup?
Could not open database named: housemixes
System.AggregateException: One or more errors occurred. ---> System.ArgumentException: A positive capacity must be specified for a Memory Mapped File backed by an empty file.
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile(FileStream fileStream, String mapName, Int64 capacity, MemoryMappedFileAccess access, MemoryMappedFileSecurity memoryMappedFileSecurity, HandleInheritability inheritability, Boolean leaveOpen)
at Voron.Platform.Win32.Win32MemoryMapPager.CreatePagerState()
at Voron.Platform.Win32.Win32MemoryMapPager..ctor(String file, Nullable`1 initialFileSize, Win32NativeFileAttributes options, Win32NativeFileAccess access)
at Voron.StorageEnvironmentOptions.DirectoryStorageEnvironmentOptions.OpenJournalPager(Int64 journalNumber)
at Voron.Impl.Journal.WriteAheadJournal.RecoverDatabase(TransactionHeader* txHeader)
at Voron.StorageEnvironment.LoadExistingDatabase()
at Voron.StorageEnvironment..ctor(StorageEnvironmentOptions options)
at Raven.Database.Storage.Voron.Impl.TableStorage..ctor(StorageEnvironmentOptions options, IBufferPool bufferPool) in c:\Builds\RavenDB-3.0-Unstable\Raven.Database\Storage\Voron\Impl\TableStorage.cs:line 64
at Raven.Storage.Voron.TransactionalStorage.Initialize(IUuidGenerator generator, OrderedPartCollection`1 documentCodecs, Action`1 putResourceMarker) in c:\Builds\RavenDB-3.0-Unstable\Raven.Database\Storage\Voron\TransactionalStorage.cs:line 351
at Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configuration, TransportState recievedTransportState) in c:\Builds\RavenDB-3.0-Unstable\Raven.Database\DocumentDatabase.cs:line 164
at Raven.Database.Server.Tenancy.DatabasesLandlord.<>c__DisplayClassb.<TryGetOrCreateResourceStore>b__8() in c:\Builds\RavenDB-3.0-Unstable\Raven.Database\Server\Tenancy\DatabaseLandlord.cs:line 182
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
at Raven.Database.Server.Controllers.RavenDbApiController.TrySetupRequestToProperResource(RequestWebApiEventArgs& args) in c:\Builds\RavenDB-3.0-Unstable\Raven.Database\Server\Controllers\RavenDbApiController.cs:line 652
---> (Inner Exception #0) System.ArgumentException: A positive capacity must be specified for a Memory Mapped File backed by an empty file.
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile(FileStream fileStream, String mapName, Int64 capacity, MemoryMappedFileAccess access, MemoryMappedFileSecurity memoryMappedFileSecurity, HandleInheritability inheritability, Boolean leaveOpen)
at Voron.Platform.Win32.Win32MemoryMapPager.CreatePagerState()
at Voron.Platform.Win32.Win32MemoryMapPager..ctor(String file, Nullable`1 initialFileSize, Win32NativeFileAttributes options, Win32NativeFileAccess access)
at Voron.StorageEnvironmentOptions.DirectoryStorageEnvironmentOptions.OpenJournalPager(Int64 journalNumber)
at Voron.Impl.Journal.WriteAheadJournal.RecoverDatabase(TransactionHeader* txHeader)
at Voron.StorageEnvironment.LoadExistingDatabase()
at Voron.StorageEnvironment..ctor(StorageEnvironmentOptions options)
at Raven.Database.Storage.Voron.Impl.TableStorage..ctor(StorageEnvironmentOptions options, IBufferPool bufferPool) in c:\Builds\RavenDB-3.0-Unstable\Raven.Database\Storage\Voron\Impl\TableStorage.cs:line 64
at Raven.Storage.Voron.TransactionalStorage.Initialize(IUuidGenerator generator, OrderedPartCollection`1 documentCodecs, Action`1 putResourceMarker) in c:\Builds\RavenDB-3.0-Unstable\Raven.Database\Storage\Voron\TransactionalStorage.cs:line 351
at Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configuration, TransportState recievedTransportState) in c:\Builds\RavenDB-3.0-Unstable\Raven.Database\DocumentDatabase.cs:line 164
at Raven.Database.Server.Tenancy.DatabasesLandlord.<>c__DisplayClassb.<TryGetOrCreateResourceStore>b__8() in c:\Builds\RavenDB-3.0-Unstable\Raven.Database\Server\Tenancy\DatabaseLandlord.cs:line 182
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
|
This email has been checked for viruses by Avast antivirus software.
|
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have the following empty files:
0000000000000157100.journal -> 0000000000000157147.journal
Can I delete these?
--
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
--
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
yesHibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
On Mon, Jan 30, 2017 at 11:10 AM, Paul Hinett <pa...@ukcreativedesigns.com> wrote:
--You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have the following empty files:
--
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Just want to leave a thank you here on a quick hot fix to get me back up and running…and I believe a permanent fix is coming to prevent this happening in the future.
It was due to running out of disk space and journal files failing to be generated.
From: rav...@googlegroups.com [mailto:rav...@googlegroups.com] On Behalf Of Oren Eini (Ayende Rahien)
Sent: 30 January 2017 14:09
To: ravendb <rav...@googlegroups.com>
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
![]() | Oren Eini CEO / Hibernating Rhinos LTD
|