Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

SplitVector Command failed

replicaSet config
(13 lines)
mongostat result
(36 lines)
Feb 8, 2012
Juhi Bhatia
Juhi Bhatia
Hi

I am in testing phase and testing my apps performance with inserting a
million records in mongodb.

After 239673 number of records got inserted in mongodb, I am getting
following error at mongos.log :

Wed Feb  8 14:37:40 [conn16] warning: could have autosplit on
collection: emgda.elements but: splitVector command failed: { errmsg:
"couldn't find index over splitting key", ok: 0.0 }
Wed Feb  8 14:37:40 [conn16] warning: could have autosplit on
collection: emgda.elements but: splitVector command failed: { errmsg:
"couldn't find index over splitting key", ok: 0.0 }
Wed Feb  8 14:37:40 [conn16] warning: could have autosplit on
collection: emgda.elements but: splitVector command failed: { errmsg:
"couldn't find index over splitting key", ok: 0.0 }

For the collection emgda.elements:
The dataSize is : 61395840
The storageSize is: 86114304
The totalSize is : 170809488

What does this error mean?

db.printCollectionStats() gives the following:

elements
{
        "sharded" : true,
        "flags" : 1,
        "ns" : "emgda.elements",
        "count" : 239673,
        "numExtents" : 11,
        "size" : 61395840,
        "storageSize" : 86114304,
        "totalIndexSize" : 84695184,
        "indexSizes" : {
                "_id_" : 7791728,
                "createdTimestamp_1" : 6712496,
                "customerId_1" : 6892368,
                "customerId_1_elementId_1_createdTimestamp_1" :
17128720,
 
"customerId_1_siteId_1_elementId_1_createdTimestamp_1" : 24528000,
                "elementId_1" : 9966544,
                "siteId_1" : 11675328
        },
        "avgObjSize" : 256.16502484635316,
        "nindexes" : 7,
        "nchunks" : 1,
        "shards" : {
                "shard1" : {
                        "ns" : "emgda.elements",
                        "count" : 239673,
                        "size" : 61395840,
                        "avgObjSize" : 256.16502484635316,
                        "storageSize" : 86114304,
                        "numExtents" : 11,
                        "nindexes" : 7,
                        "lastExtentSize" : 20881408,
                        "paddingFactor" : 1,
                        "flags" : 1,
                        "totalIndexSize" : 84695184,
                        "indexSizes" : {
                                "_id_" : 7791728,
                                "createdTimestamp_1" : 6712496,
                                "siteId_1" : 11675328,
                                "elementId_1" : 9966544,
                                "customerId_1" : 6892368,
 
"customerId_1_elementId_1_createdTimestamp_1" : 17128720,
 
"customerId_1_siteId_1_elementId_1_createdTimestamp_1" : 24528000
                        },
                        "ok" : 1
                }
        },
        "ok" : 1
}
---
system.indexes
{
        "sharded" : false,
        "primary" : "shard1",
        "ns" : "emgda.system.indexes",
        "count" : 7,
        "size" : 784,
        "avgObjSize" : 112,
        "storageSize" : 12288,
        "numExtents" : 1,
        "nindexes" : 0,
        "lastExtentSize" : 12288,
        "paddingFactor" : 1,
        "flags" : 0,
        "totalIndexSize" : 0,
        "indexSizes" : {

        },
        "ok" : 1
}
---





Reply
Tags: million records
Messages in this thread
SplitVector Command failed
reply Re: SplitVector Command failed
(126 lines) Feb 9, 2012 08:31
reply Re: Re: SplitVector Command failed
(142 lines) Feb 9, 2012 09:34
reply Re: SplitVector Command failed
(166 lines) Feb 10, 2012 23:42
reply Re: Re: SplitVector Command failed
(176 lines) Feb 11, 2012 21:28
reply Re: SplitVector Command failed
(270 lines) Feb 12, 2012 22:44
Very long splitVector operations
September 26, 2011 02:49:40 PM
Our environment: Ubuntu Linux, MongoDB 1.8.2 everywhere. 2 shards, 3 replicas in each shard. Lots of mongos', one on each of our app servers. 3 config servers. We have a cron job that checks db.currentOp() for long-running queries. This is…
Long running splitVector commands
January 13, 2012 01:43:17 PM
I have a sharded mongo cluster (believe we're running 1.8.3). We've gotten into a state where one shard has an obscene number of queued read/writes, after a day that number is in the thousands. It doesn't appear to affect processing…
Logs full of splitVector fail, need to specify maxChunkSize
October 19, 2011 09:12:17 AM
Hey! We're getting a lot of warnings in our mongos logs saying things like this: warning: could have autosplit on collection: fragments_20111019.visit_fragments but: splitVector command failed: { errmsg: "need to specify the desired max chunk size…
shardcollection hangs at splitVector stage of initial sharding of a collection
November 20, 2010 04:19:01 PM
Hi, I'm experiencing a situation where a mongod process hangs seemingly indefinitely right after the shardcollection command. I've had it happen to several collections in my db now, once for more than 8 hours after which I killed it. Here are…
Re: failed archive command
July 7, 2011 10:17:39 PM
I tried to use only %p to specify the path, but it does not seem to output the full path according to the server log. It only starts at /pg_xlog: archive_command = '/usr/bin/scp -B "%p"…
Re: failed archive command
July 7, 2011 01:19:14 AM
This message has been digitally signed by the sender.
failed archive command
July 6, 2011 11:41:41 PM
I'm trying to setup wal archiving to a secondary computer on OSX 10.6.5 using postgres 9.0.3. Here are my settings in postgresql.conf on the primary box: wal_level = archive archive_mode = on max_wal_senders = 1 archive_command = '/usr/bin/scp -B…
failed archive command
July 6, 2011 11:35:38 PM
I'm trying to setup wal archiving to a secondary computer on OSX 10.6.5 using postgres 9.0.3. Here are my settings in postgresql.conf on the primary box: wal_level = archive archive_mode = on max_wal_senders = 1 archive_command = '/usr/bin/scp -B…
{Spam?} ehlo command failed
June 12, 2011 12:33:23 PM
This is a multi-part message in MIME format. I found several entries as following up on running postqueue -p, where 212.119.64.138 is my actual mailbox server (delivery temporarily suspended: conversation with…
traffic_line: error: the requested command failed
June 8, 2011 06:47:00 PM
Any idea why traffic_line -x would fail with message error: the requested command failed I could not find any info in the logs for troubleshooting. Thanks Subbu
Re: MapViewOfFile failed *** Not enough storage is available to process this command.
April 13, 2011 12:59:14 PM
I have to correct myself, actually I was trying not to dump the data using the import/export tools but from the Python driver interface / an application. Seems like I have to dump the data then into BSON and parse this manually then, just hoped…
MapViewOfFile failed *** Not enough storage is available to process this command.
April 13, 2011 08:38:20 AM
Hello Mongods, I know the limitations of MongoDB 32 Bit Builds, but I have encounter a hugh problem. I receive the following error while trying to read data from the database: Wed Apr 13 11:49:49 [conn9] MapViewOfFile failed -db name here-…
Re: geocode error, says 'database command count failed'
May 25, 2011 12:12:30 PM
You can call ensureIndex every time your application starts up and it won't cause any extra undue load on the server. If the index already exists it's a no-op. On May 25, 12:54 pm, Nat <nat.### @gmail.com> wrote: > You just need to do…
geocode error, says 'database command count failed'
May 25, 2011 09:44:15 AM
Can someone explain what this error means: Database command 'count' failed: {"errmsg"=>"exception: can't find special index: 2d for: { coordinates: { $nearSphere: [ -74.92276699999999, 42.700149 ], $maxDistance: 0.005052092295133236 } }",…
DO NOT REPLY New: make: Fatal error: Command failed for target `all-recursive'
November 3, 2010 12:27:47 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=50206 Summary: make: Fatal error: Command failed for target `all-recursive' Product: Apache httpd-2 Version: 2.0.64 Platform: Sun …
Created: (DERBY-4957) describe and show command failed in Eclipse Plugin
January 4, 2011 04:13:14 AM
describe and show command failed in Eclipse Plugin
Created] (HDFS-2781) Add client protocol and DFSadmin for command to restore failed storage
January 11, 2012 05:05:25 PM
Add client protocol and DFSadmin for command to restore failed storage
Issue 573 in redis: Unknown command error response for 'keys' command
June 3, 2011 03:57:28 PM
Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 573 by arunv### @gmail.com: Unknown command error response for 'keys' command http://code.google.com/p/redis/issues/detail?id=573 What version of Redis you are using, in…
Created] (FELIX-3001) [gogo] help command throws ClassCastException if any osgi.command.function ser
June 16, 2011 04:01:39 AM
[gogo] help command throws ClassCastException if any osgi.command.function service property is not String[]
Nginx HttpAccessModule command invalid when rewrite command existed
November 9, 2011 08:31:25 AM
In the following simple case: location /entry1 { allow 127.0.0.1; }
Streaming Command Failed! for MapReduce basic program in ruby
March 15, 2011
I was trying to run ruby hadoop streaming program , which is given in Definitive guide * for ruby * This is a command , I have given . hadoop jar…
Error: Setup script exited with error: command 'gcc' failed with exit status 1
January 18, 2011
I get the following error when I try to install MySQL-python-1.2.3 under Python 2.6 in Fedora 14. Fedora 14 comes with Python 2.7 by default and I…
PHP: fopen failed "HTTP Request Failed", but response header has a status code 200
January 16, 2011
I have a PHP script, that should connect to a proxy, chosen from a proxy list and download a file. Some of the proxies (out of 200-400 working ones)…
Failed connect or "certificate verify failed" on LWP HTTPS GET
June 17, 2011
I posted this problem on Perl Monks yesterday but it worked for everyone who tried it (see http://www.perlmonks.org/?node_id=909968 ). However, I…
MongoDB data integrity on a create command with a preceeding validation command
February 2, 2011
A website I'm creating lets users have a unique subdomain on the site eg; gaz123.mywebsite.com. They enter their subdomain when they register on the…
Trying to find an iSeries SQL command equivalent for MySQL. Specifically the "LABEL ON" command.
March 15, 2011
My company's main database is an iSeries machine, and I have become quite used to working with the DB2 commands and structure. I am right now trying…
Mono 2.10.1 apache errors: Command stream corrupted, last command was -1
March 16, 2011
When starting a test mono server, Immediately the site is giving quite a few errors. The error I'm particularly concerned about is [error]…
How do i repeat last sql command executed in sqlite command line?
February 25, 2011
I am using android sqlite3 command line tool. How do I repeat the last command that I executed (similar to the / in sqlplus)? edit
Hbase command versus hadoop command
April 12, 2011
The little bit of description of hbase in the O'Reilly Elephant book shows the use of the 'hbase' command line wrapper to run a map-reduce job using…
Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
December 27, 2010
I am accessing images from another website. I am getting "failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request " error when copying…
Command line: log in to MySQL and execute command in one line
March 4, 2011
I often find the need to check a table structure (to check column names for instance when writing a PHP script). My one single purpose is: speed. I…
PHP - OCI and PDO OCI failed to run
May 17, 2010
Hi there, I am trying to install lighttpd and php separately on Windows XP. I successfully get the server to run. However, I failed to get the OCI…
Qt SSL handshake failed
January 8, 2011
I'm trying to get a file over HTTPS using QNetworkAccessManager::get. On my development computer (Win7 x64), everything works fine, but on another…
Dns lookup failed
June 9, 2011
So, my problem is my computer can't connect to the internet. When i turned on my computer this morning, everything booted up like normal, but when i…
Qt SSL handshake failed
January 8, 2011
I'm trying to get a file over HTTPS using QNetworkAccessManager::get. On my development computer (Win7 x64), everything works fine, but on another…
S3 PUT failed. MissingContentLength
April 11, 2011
Hi All, I'm getting the following 'MissingContentLength' error while trying to do word count using hadoop, S3. org.apache.hadoop.fs.s3.S3Exception:…
Jsp jar Failed to load
May 2, 2011
In the /var/lib/tomcat6/webapps/ROOT I have the following structure => META-INF teiExample.jsp WEB-INF ./META-INF: context.xml ./WEB-INF:…
SVN SSL negotiation failed
February 18, 2011
I am having issues using svn all of a sudden. When trying to update/commit or create a new checkout I get the following error. I cant seem to find…
4.5.1 4.4.0 DNS Query Failed
March 1, 2011
We are running Exchange 2010 and lately I have noticed that some outgoing messages get stuck in the queue with the error "451 4.4.0 DNS Query…
Windows 7 - DNS look up failed.
April 8, 2011
Windows 7 Home Premium x64 - Desktop - cable connection to wireless router. Recently I had a problem viewing my desktop pc from my mac and I've…