question_id int64 1 1.16M | title stringlengths 10 191 | question_body stringlengths 6 2k | answer_body stringlengths 0 2.5k | tags stringclasses 73
values | question_score int64 -15 1.65k | answer_score int64 0 2.91k | view_count int64 4 1.24M | creation_date stringdate 2008-08-01 18:45:00 2025-06-19 04:44:02 | category stringclasses 12
values | source_site stringclasses 8
values |
|---|---|---|---|---|---|---|---|---|---|---|
334,409 | Is it OK for interfaces to depend on concrete classes? | I am creating interface in Java for custom error handler. Want to pass an argument error object but I need it to be child of [CODE] class. Is it okay to use my defined class name in an interface ? Won't it make it less of an interface in terms of not being dependent on any implementation ? I try to do something like th... | First I have to point out the fact that [CODE] doesn't extend [CODE] so it is not really an [CODE] . That said: If you don't care about Dependency Inversion Principle , then leave it as it is. It's perfectly OK for an interface to depend on concrete classes, for example many interfaces depend on [CODE] or [CODE] which ... | 9 | 2 | 2,482 | 2016-10-23T19:41:56.287 | api_errors | softwareengineering.stackexchange.com | |
167,443 | Is it possible to run X on a ESX Service Console? | Ok, we all know (or should know) the ESX Service Console isn't actually a Linux system, but a custom Linux distribution running inside the ESX hypervisor, in order to allow its management. Yet, regardless of that, questions arise: if one were to install all of the required programs (X11, Gnome/KDE, etc.), would the Ser... | In the full ESX (not ESXi) it's probably possible , but why would you want to? The hypervisor should be as thin as possible (this is the concept behind ESXi), and adding a fat GUI that will suck up RAM and CPU doesn't make much sense... Also, Re: the service console -- My understanding is that the non- [CODE] version o... | 2 | 1 | 1,220 | 2010-08-05T16:04:39.327 | infrastructure | serverfault.com | |
132,437 | SARGable WHERE clause for two date columns | I have what is, to me, an interesting question on SARGability. In this case, it's about using a predicate on the difference between two date columns. Here's the setup: [CODE] What I'll see pretty frequently, is something like this: [CODE] ...which definitely isn't SARGable. It results in an index scan, reads all 1000 r... | Just adding this quickly so it exists as an answer (though I know it's not the answer you want). An indexed computed column is usually the right solution for this type of problem. It: makes the predicate an indexable expression allows automatic statistics to be created for better cardinality estimation does not need to... | 27 | 18 | 4,034 | 2016-03-16T20:16:45.210 | database_errors | dba.stackexchange.com | |
715,614 | HAPRoxy Rate Limiting - Stick-Table Entry Expiration | I've been trying to implement rate limiting for some HTTP POST requests on my website. It works great, except for one detail: the expiration of my entry in my stick-table is always reset to 30 seconds, which means that if the client mistakenly makes a request 29 seconds after being blocked, it will be blocked, again, f... | To check the counter without updating its value, you can use table_http_req_rate . In your case you can put the below config in your frontend, so that you can deny the request before reaching the stick-table. [CODE] More reference: Stick table doc | 0 | 2 | 2,144 | 2015-08-20T17:43:00.090 | api_errors | serverfault.com | |
22,379 | INNER JOIN making COUNT(*) slow | I have a very simple query: [CODE] With the join it takes 1146 ms and without it takes 220 ms (220 ms still seems slow to me). Test carried out on the messages table containing 1,000,000+ rows. I have I have a primary key set on both tables ( [CODE] and [CODE] ) and a foreign key setup connecting [CODE] and [CODE] . Th... | If the foreign key is not nullable, then there is no reason for the join at all, is there? So why not let SQL Server scan the most efficient index available instead of computing a join that will result in the exact same count? [CODE] That said, you can do this much more efficiently: [CODE] This will be slightly inaccur... | 1 | 5 | 10,111 | 2012-08-13T15:30:58.817 | warehouse_errors | dba.stackexchange.com | |
210,884 | Concurrent connections to the same table | We are a small firm, with about 10 people using a database server. I have this application that connects to a database and fills about 40 rows of data in an table. Then calls a stored procedure to process the data before inserting the data back into another table and then truncates the table. Is it possible if two peop... | I would recommend to use temporary tables instead of insert and truncate. They are invisible to other sessions, so you can have many sessions creating the same "TEMPTABLEA", inserting records, deleting records, and even destroying the TEMP TABLE without interfering other users work. When you kill the session, the Temp ... | 0 | 0 | 1,114 | 2018-06-28T17:53:54.253 | database_errors | dba.stackexchange.com | |
275,393 | Serving static files with amazon s3 vs nginx | Let say I have an django application Will it be better (performance-wise) to serve the static files with s3 or to setup an nginx server on a ec2 instance? | Nginx is going to be faster for site assets like CSS, nav images, etc. If the client browser already has an open connection for the dynamic page, and keepalives are setup it will use the same connection. You can now back CloudFront with EC2 hosted content so S3 is no longer a requirement at that level. In addition you ... | 9 | 9 | 7,912 | 2011-05-31T02:24:39.920 | infrastructure | serverfault.com | |
438,089 | Small store infrastructure - where to begin? | It looks like my older brother is about to change jobs - from lawyer to shooting range proprietor - and since I'm the family 'computer guy' I have the task of coming up with and setting up the in-store equipment. Only problem, I don't know how to start or where to look. I'm a web programmer, not an IT specialist. To th... | All separate services... Your point-of-sale vendor will help you with requirements for the POS solution, and may provide the hardware. Security systems are usually discrete and the vendor you use for that will probably bring a DVR solution. Consider IP cameras for flexibility. PC's are PC's... A good local tech can hel... | 5 | 4 | 152 | 2012-10-13T21:16:44.607 | database_errors | serverfault.com | |
173,452 | Can python and php work together? | I am having a mobile app created for ios. The developers built the app in php. The app requires an algorithm so I found another programmer to develop it. The algorithm programmer built the algorithm in python. The developers refuse to finish the app because they say it won't work with python, while the programmer insis... | Will this work and I'd so how risky is it to future problems? Yes it will work, and how risky it is depends on how good your implementation is. This is perfectly acceptable if done correctly. I have successfully integrated PHP and C, when PHP was simply too slow to do certain niche tasks in real time (IIRC, PHP is 7 ti... | 5 | 12 | 20,292 | 2012-11-03T11:42:24.197 | api_errors | softwareengineering.stackexchange.com | |
336,530 | Nested imports vs. two separate import statements? | Consider these two styles of code that accomplish the same thing: Nested imports [CODE] [CODE] [CODE] : [CODE] Separate imports [CODE] [CODE] [CODE] : [CODE] I know which version I prefer stylistically, but which version is the proper way to do it and why? As for performance: I tried to timeit the Nested version, but t... | The class SmallAutoField is actually an innovation created for this particular application - it's an improvement. It "moves the ball down the field" so to speak, upgrading the ability to describe persistence. For a new reader of the program years from now (e.g. an engineer who needs to understand what it does) the inte... | 2 | 1 | 4,534 | 2016-11-21T17:37:49.713 | api_errors | softwareengineering.stackexchange.com | |
242,201 | Xen 4.0.1 on ubuntu 10.10 server edition | i have a problem to booting xen kernel. At system start i obtain the next message: gave up waiting for root device. common problems: [CODE] You have some idea to fix this problem? Many thanks. Bye | Check grub config: [CODE] ID copy from other menuentry in /boot/grub/grub.cfg. | 0 | 0 | 276 | 2011-03-02T14:00:07.260 | infrastructure | serverfault.com | |
721,223 | Transfer 15TB of tiny files | I'm archiving data from one server to another. Initially I started a [CODE] job. It took 2 weeks for it to build the file list just for 5 TB of data and another week to transfer 1 TB of data. Then I had to kill the job as we need some down time on the new server. It's been agreed that we will tar it up since we probabl... | I have had very good results using [CODE] , [CODE] (parallel gzip) and [CODE] . Source machine: [CODE] Destination machine: To extract: [CODE] To keep archive: [CODE] If you want to see the transfer rate just pipe through [CODE] after [CODE] ! | 82 | 68 | 20,024 | 2015-09-09T15:23:47.007 | api_errors | serverfault.com | |
48,644 | Linux host to host migration | I need to migrate my CentOS server onto another with an identical system distribution. I don't know yet how different is hardware the besides amount of memory and GHz ( posted separate question about that ) I've been compiling lot's of libraries by hand on my original server, installing them to standard location and di... | The SystemRescueCD ( http://www.sysresccd.org ) now includes both partimage and fsarchiver . Either of these can do a disk-to-disk, partition-to-partition, or disk-to-image-to-disk duplication (like Symantec Ghost). fsarchiver is a bit newer and has some nicer features, but is commandline only. partimage has a curses-b... | 0 | 3 | 644 | 2009-07-31T18:22:06.300 | infrastructure | serverfault.com | |
702,444 | Windows 2008 dead server to windows 2012 Active directory move | Our windows 2008 AD server has failed, but i am able to read the hard drive via a usb cradle. We have got a new server now running windows 2012. Is there anyway I can move the active directory? Any help, gratefully received. Thanks James | Q: Is there anyway I can move the active directory? A: No there isn't. | -3 | 4 | 156 | 2015-06-29T20:56:17.803 | infrastructure | serverfault.com | |
37,100 | Deadlocks on same wait resource | I am experiencing a deadlock in SQL Server, but I do not understand why this is a deadlock. It looks like the two resources are actually the same. Meaning that they each have the lock and are asking for the same lock again and this is flagged by SQL as a deadlock. The table: [CODE] The deadlock (Note, that the updates ... | The code below will give you the two rows which were involved in the deadlock, which is snipped from The Curious Case of the Dubious Deadlock and the Not So Logical Lock [CODE] Good backgrounder on %%lockres%% from @RemusRusanu in Lockres collision probability marker . | 4 | 6 | 3,299 | 2013-03-20T10:46:11.750 | database_errors | dba.stackexchange.com | |
71,194 | ESXi 4 failed to find boot device | I had exsi 3.5 running just fine, the upgrade to 4 failed ( i thought it would so everything is backed up ). but it did boot just could not import the data store So i did a fresh install of ESXi 4. Now it says failed to find boot device. Not sure why. i have wiped the disk, the controller is a adaptec 3405, it worked f... | After getting ESXi 4 installed on a flash device i was still not able to create a datastore on the array. After searching around i found that disabling : Intel VT for direct in the BIOS cleared up the problems. Probably disabling this from the start would have not had to do the reinstall | 1 | 1 | 1,583 | 2009-10-04T20:41:01.423 | infrastructure | serverfault.com | |
142,193 | Which UPS, for home use, which can automatically shutdown the PC when battery is low? | I am planning to build a single server machine which is highly dependent on data residing in RAM for performance reasons. I am looking for a UPS which can power the PC during a blackout (very rare) and when the battery level is like %20, it sends a signal to Windows 2008 to shutdown. Even if it's only for a few minutes... | Any UPS that comes with an appropriate connection and compatible software should meet your needs. I've had both Tripp Lite and APC myself. | 1 | 2 | 144 | 2010-05-15T16:43:34.417 | infrastructure | serverfault.com | |
370,482 | Why is bluetooth support one of the default packages in "Base" when doing an RHEL/CentOS server install? | This is an issue that has bugged me for a long time - why would the default server installation of RHEL?CentOS include desktop/laptop packages like bluetooth? When using kickstart, I will usually start with the [CODE] packages set, and then customize from there. However, it seems counter-intuitive to me to put user-cen... | Unless there are Red Hat developers/product managers here, I don't think you'll get an answer justifying this. It's especially perplexing in the "Server" product. Either way, it's trivial to remove the packages in [CODE] , or Kickstart with [CODE] and start with a minimal installation and build up your package list fro... | 7 | 5 | 1,941 | 2012-03-16T16:05:56.673 | infrastructure | serverfault.com | |
5,379 | Tools to preprocess a big data for dashboards? | I have a complex dataset with more than 16M rows coming from pharmaceutical industry. Regarding the data, it is saved in a sql server with multiple (more than 400) relational tables. Data got several levels of hierachies like province, city, postal code, person, and antigens measures, etc. I would like to create many d... | We have dashboards that show information about some processes, which have billions of rows in the database. It's not queried directly though, but instead from pre-aggregated data. We have automated scripts running in database that populate the aggregated data tables specifically for dashboards. In most extreme cases th... | 1 | 1 | 853 | 2015-03-24T06:01:50.617 | bi_errors | datascience.stackexchange.com | |
142,792 | Grant permissions to a user to grant select to specific tables in several schemas in Oracle | I administer a small datawarehouse in Oracle. My user dwhmanager was given the SELECT ANY TABLE privilege: [CODE] The idea was to have the ability to grant access to tables in several schemas to the developers in the datawarehouse. Example: [CODE] However, I found my self getting the infamous ORA-01031: insufficient pr... | You'd need to have [CODE] access on the specific table granted to you with the admin option [CODE] That would need to be run for each table. You could do that in a loop with dynamic SQL [CODE] You'd need to do a new grant every time you create a new table. | 2 | 2 | 36,695 | 2016-07-01T17:23:23.130 | database_errors | dba.stackexchange.com | |
369,206 | Win2K8 Server MPIO iSCSI failover not working | I have a desire to pass iSCSI traffic between my Windows 2K8 Server lab system and my NetApp filer across two separate network stacks*. My configuration is as follows: one Win2K8 server with the iSCSI software initiator installed, the MPIO component installed, and two network interfaces: 192.168.201.85/24 and 192.168.2... | My understanding is that on 7 mode in Netapp, each LUN is going to have a preferred path, even if you're sending IO over two paths. What you're effectively doing is sending every second IO through an additional hop while the other controller redirects it to the primary controller for that LUN through the interconnect. ... | 2 | 4 | 2,626 | 2012-03-13T13:53:35.383 | database_errors | serverfault.com | |
426,169 | Smart Array P400 - Accelerator Replacement Battery Failure | TL;DR - Is the immediate failure of a replacement battery, for a failed battery, on a battery backed accelerator for a Smart Array P400 controller a common occurrence? Or are we likely to have an storage controller with an impending and critical fault? We have a slightly confusing situation with a Smart Array P400 stor... | You're correct. Firmware version 7.24 is the current release. If you have the downtime window, power the server off entirely (remove power cables), wait a few minutes, and power up again. See if that jump-starts the battery charge process. But short of that, if your system is still under warranty (P400-equipped systems... | 6 | 3 | 27,162 | 2012-09-10T23:57:33.500 | infrastructure | serverfault.com | |
224,717 | MySQL running but not responding | I had a crash on a machine and rebooted and restarted mysql. Mysql loaded fine, I can connect with 'mysql -p' and do simple commands like "show tables;". However, real DB operations (e.g., "select [...]") just hang. Is there any idea on what is going on? | Try: [CODE] | 2 | 1 | 7,180 | 2011-01-20T15:48:44.103 | database_errors | serverfault.com | |
216,175 | Why should I use MSBuild instead of Visual Studio Solution files? | We're using TeamCity for continuous integration and it's building our releases via the solution file (.sln). I've used Makefiles in the past for various systems but never msbuild (which I've heard is sorta like Makefiles + XML mashup). I've seen many posts on how to use msbuild directly instead of the solution files bu... | First point of fact is that the solution file pretty much magically becomes a MSBuild file when MSBuild executes it -- which is what happens when you build the solution in visual studio. In addition, all those project files are just msbuild files managed by visual studio. In fact, the project files handle most of the r... | 24 | 19 | 38,418 | 2013-10-31T23:53:43.113 | data_quality | softwareengineering.stackexchange.com | |
638,304 | IIS/Apache dont recognize my certificate | Im completely new in this. I have a windows 2008 R2 Server with IIS 7.0 with a expired certificate, so finally i created another (*.CSR, then PKCS#7 and installed). Installing the certificate i have a problem but solved following the Microsoft Support . So now i have my certificate active and installed in my server. No... | Solved. In our system we have two Virtual Machines with IIS, i installed the certificate in the other and now it works perfectly (i dont needed to modify Tomcat). | 1 | 1 | 68 | 2014-10-20T13:01:26.703 | infrastructure | serverfault.com | |
257,920 | Virtual networking with VirtualBox | I have a question about virtual networking. I want to create a virtual network between two virtual machines and the host OS. The problem occurs when i try to change manually the ips of the virtual machines: if I set a static ip for the virtual machines the internet connection, on those machines, won't work (but they ca... | I think your virtual machines are in "Host-only networking" mode. Change it into "Bridge Networking" mode so that you can make communication between virtual machines, host and external network. | 0 | 1 | 118 | 2011-04-10T11:21:03.250 | infrastructure | serverfault.com | |
381,809 | Windows Server 2003: Taking Root and Intermediate CA's offline causers faiure in Enterprise CA | I installed 3 CA's in lab environment: SA Root CA SA Intermediate CA Enterprise CA (also DC) The instructor recommends taking Root and Intermediate CA's offline once the Enterprise CA has been issued it's certificate. I took Root and Intermediate CA's offline and now the Enterprise CA's certificate cannot be verified b... | You are aware you can publish the CRL to Active DIrectory and then with a longer duration? http://networkerslog.blogspot.com/2010/12/publish-offline-certificates-and-crls.html And then I would put the validity higher - obviously. Otherwise it is too much work to republish the CRL's. | 1 | 2 | 111 | 2012-04-21T13:40:29.600 | infrastructure | serverfault.com | |
508,238 | DB Server location in relation to main Web Server | Ive recently taken the plunge and started renting a VPS for my web projects. As the demands on the system get higher so do the costs. MY VPS is US based due to costs, but Im based in Germany. Initially I decided I'd try and run everything on a Windows 2008 VPS: .net, SQLServer. Then I added php and MySQL, and the serve... | You would want the SQL server to be as close as possible to your current VPS; preferably in the same datacenter for best results. It doesn't matter where it is for end-users because it should be your website accessing the database and not the users. | 0 | 2 | 127 | 2013-05-16T10:53:15.970 | database_errors | serverfault.com | |
935,899 | sudo user is not allowed to execute systemctl | I'm trying to allow a user to use sudo to manage a custom systemctl service, this however seems to fail and I can't figure out why. [CODE] The 'appgroup' contains this; [CODE] I have double checked that the user is member of the appgroup, however when this user runs sudo systemctl start test.service this results in an ... | Debugging sudo issues: run [CODE] as the user concerned to show which rights are assigned to that user. ensure that those rights correspond to the commands you wish to allow, commands allowed in your [CODE] and [CODE] configurations that don't include arguments will be allowed to run with any argument, commands allowed... | -1 | 2 | 11,203 | 2018-10-17T08:58:39.197 | infrastructure | serverfault.com | |
301,388 | .NET MVC authentication to AngularJS to .NET web API advice needed | So i am inheriting a team and a large project that should have been built with a restful back end. For the time it is only reporting and we all agree to build out a web API (separate project) with using AngularJS in the current MVC project and slowly migrate everything to the web API back end. There is a lot of authent... | I think you will fall down on the practicality of this solution. Embeding the roles in the key can be done no prob, but it will provide no extra security for client side functionality. If you are retrieving the Data for say a form which may be editiable for example, simply include an IsEditable field in the data and ha... | 1 | 1 | 1,323 | 2015-11-01T03:49:02.370 | api_errors | softwareengineering.stackexchange.com | |
315,118 | can use maxdop on online modifying column in mssql 2019? | I want to change data type of a column of my table in SQL Server 2019. My table has 50,000,000 row and it's very important. I want to do this operation online and also handle maxdop to avoid CPU over usage. I wrote this query but I got syntax error: [CODE] | Per the Microsoft Docs , SQL Server 2019 [CODE] syntax does not support the [CODE] option. [CODE] is only supported for single partition rebuilds and constraint operations. | 0 | 1 | 260 | 2022-08-02T03:18:09.573 | database_errors | dba.stackexchange.com | |
392,323 | Should we switch to standard functions for utilities? | Many projects need a set of various utilities. There is some discussion about where to place them. But what happens if the utility becomes part of the standard? For example, C++ kept adding to the standard many useful functions. For example, [CODE] , or the random number generators. Many projects needed that functional... | It is almost never worthwhile to change working code retroactively merely to conform to changed standards. There is value in precepts such as "use standard functions rather than roll your own", "minimize dependencies", etc. However , the reason these are valuable is that they save you effort that you can use in a more ... | 1 | 5 | 147 | 2019-05-23T20:17:07.347 | api_errors | softwareengineering.stackexchange.com | |
674,760 | Polycom VOIP phone seems to mask the secondary device's MAC address from a Cisco switch | When I have a Polycom VOIP phone plugged into a Cisco switch and a laptop plugged into the Polycom phone I get the following. 1) The phone goes into the voice VLAN as expected. 2) The laptop goes into the data VLAN as expected. 3) When I run show mac-address-table on the Cisco switch I get the Polycom's MAC address lis... | It appears that dot1x vs SNMP is what makes a difference there. dot1x communicates the addition/disconnect of bridged devices. Now why that is I have no clue - but at least that is a solution of sorts | 0 | 0 | 497 | 2015-03-11T23:18:48.980 | infrastructure | serverfault.com | |
884,896 | Web app can't connect to websocket server | I have a web app running on HTTP server on port 3000. This app is connected to a websocket server on port 9001. Both WS and HTTP servers are located inside the same VM. When testing the app locally (inside VM), everything works fine. Both web app and WS server can communicate with each other. Both the app and the serve... | This was pretty easy to fix and is even written in the docs of the websocket server that I am using. Just needed to instantiate the WS server as follows [CODE] so that it listens for all incoming connections. | 2 | 5 | 16,523 | 2017-11-23T18:23:05.280 | api_errors | serverfault.com | |
565,455 | Exchange migration from 2003 -> 2010 is giving me hell | So, I have two machines: Exchange 2003 - Version 6.0 (Build 7654.0) 4GB RAM, 55GB MDB, Server 2003 Exchange 2010 - Version 14.3 (Build 123.0) 8GB RAM, 22GB MDB, Server 2008 R2 There are about 80 mailboxes between both servers. As per the question title, I am moving all my users from 2003 to 2010. I have moved about 50%... | check Exchange 2010 logs why it dismounts. It must have logged something. check the move request log -> EMC -> Recipient Config -> Move request -> right click the move request and check status / or properties there should be a lot of info there. check the system event log -> I think event about dismount should go to Wi... | 1 | 4 | 416 | 2014-01-07T00:51:15.013 | data_quality | serverfault.com | |
987,886 | Configuring https for localhost (Apache2) | I try to set up https for my localhost. On my localhost I have a Zabbix_server instance running. I have set the permissions according to this post , but I recieved this errors: [CODE] I use Ubuntu version 18.04.3 and apache2 version 2.4.29. Can anyone guide me on how should I configure my localhost? | First, disable OCSP stappling with [CODE] in your VirtualHost section. You don't need that for a self-signed cert. But that's a warning only. Next, "client denied by server configuration" error means that the Apache Directory section where your /zabbix alias have located has some restrictions. If you've installed Zabbi... | 0 | 1 | 3,011 | 2019-10-14T09:41:35.010 | infrastructure | serverfault.com | |
1,033,092 | How do I dump raw data from a TCP port in Windows using the netsh command? | I have an apparently simple issue which is proving very difficult to find an answer for. The site has a highly-secured Windows Server 2019 installation and an appliance connected to it running on a certain TCP port. I need a sample of the raw data coming out of that port, taken for a few minutes, dumped into a binary f... | Yes, you can do that with netsh: Run this command as admin: [CODE] then, stop the capture with [CODE] and grab the [CODE] file. Download etl2pcapng on your computer, and use it to convert the .etl file in the pcapng format: [CODE] Finally, open the pcapng file with Wireshark or similar. Note that if the server runs at ... | 10 | 18 | 2,393 | 2020-09-08T15:43:29.733 | infrastructure | serverfault.com | |
206,587 | How to include empty string in string_agg? | I've done a groklearning exercise up until the point of: Make sure to list all properties, even if there is some unknown address information; replace any missing parts with an empty string Could someone guide me on how to make this work? [CODE] But it prints: [CODE] Instead of: [CODE] It doesn't print "MACWOOD RD SMITH... | You can use COALESCE to map null to an empty string for all attributes that may contain null: [CODE] | 0 | 3 | 1,626 | 2018-05-13T10:49:50.907 | warehouse_errors | dba.stackexchange.com | |
305,784 | Creating a parent table from child relationships | I have a child relationship table as [CODE] for a list of items: [CODE] If there is a relationship between [CODE] and [CODE] , they both belong to the same parent. But I do not have the Parent yet. How can I create unique [CODE] s from the relationship table as [CODE] And then update [CODE] in the table [CODE] . | [CODE] is a "many-to-many" relationship. [CODE] is not indexed correctly. It probably needs: [CODE] Do you already have the [CODE] for the pair of children? That is, are you looking for an [CODE] or for an [CODE] ? If you get [CODE] set, do you still need [CODE] ? (It is easy to get "all children".) | 0 | 0 | 611 | 2022-01-07T15:50:58.657 | warehouse_errors | dba.stackexchange.com | |
185,639 | postgres \dt functionality change from v9.4 to 9.6? | I have a postgres 9.4 database and when I use the: [CODE] command, tables in the 'public' schema, and other user-created schemas are shown. I have the exact same database on a Postgres 9.6 server and when I use: [CODE] only the tables in the 'public' schema are shown, and in order to see tables in the other user-create... | Check the search_path for each user you're trying to check on. [CODE] If they're different you can set them with [CODE] | 1 | 3 | 140 | 2017-09-11T16:52:38.123 | warehouse_errors | dba.stackexchange.com | |
128,875 | What does SOS in SQL Server stand for? | I am reading SQL Server 2012 Internals book now. There are several phrases with SOS acronym, such as "SOS Scheduler" (in chapter about the scheduler), "SOS Memory node" (in chapter about the free buffer list and the lazywriter). But I can't find the meaning anywhere. | It's actually usually referred to as [CODE] and it means SQL Server Operating System. Details in this series Also it can be found referenced in documentation in some places, e.g. here : [...] associated with the SQL Server Operating System (SQLOS). The SQLOS is responsible for managing operating system resources that a... | 7 | 9 | 2,420 | 2016-02-10T17:49:36.247 | database_errors | dba.stackexchange.com | |
61,189 | Single MySQL DB contains both push and pull data. Recommended path to replication? | We have a single deployed (MySQL) database that contains both user tables and product tables (currently in the same DB). The product tables are "pushed to production" data -- they are generated in our internal development environment and need to make their way to the production database. We'd like to set up replication... | You may set up a Master-Master-Replication in which both servers are slave of each other and one can write to both servers. If you always make changes to just one subset of the tables on each of the servers, you do not run into problems concerning auto increment values (you might want to set [CODE] and [CODE] anyhow) o... | 0 | 1 | 652 | 2014-03-18T21:32:08.813 | database_errors | dba.stackexchange.com | |
513,679 | Installing php5 package with Ubuntu - which PHP version? | I have a Ubuntu server running apache2 and have installed php5 with [CODE] and some other packages packages; [CODE] , for example. I'm a little confused as to which version of PHP the Ubuntu php5 package ships with. I'd like to be running the latest version of PHP at all times (currently 5.4.15). If I compile PHP from ... | [CODE] installs php version 5.4.6-1ubuntu1.2 you can check your php version with [CODE] running whatever ships with the repository is normally fine for me, exceptions to this would be if there are severe or critical security holes found in php or there is a new feature that you MUST have the moment it gets released. bu... | 0 | 0 | 205 | 2013-06-06T08:12:43.533 | infrastructure | serverfault.com | |
704,043 | DNS Issues connection with AT& | I run a new website called Yclas.com. I am bootstrapping the business and finally got the first paid customers but I am stuck with an issue with 2 customers from USA. This 2 customers use AT&T as internet provider for their phones. They can not access this sites: Example, can not access: http://cars.yclas.com/ This sit... | Seems an issue from AT&T, read more here: https://yclas.com/blog/connectivity-issues-with-att.html | 0 | 0 | 74 | 2015-07-07T11:48:54.077 | infrastructure | serverfault.com | |
1,116,936 | TLS Negotiation issue in OpenLDAP | I have the OpenLDAP Master-Slave architecture. One day I have restarted the slapd service in the LDAP Slave and then found the TLS negotiation issue in the Logs. Before restarting the service, it was working without any issues Then I tried to debug the issue, I've found some common problem which will trigger TLS negoti... | Can we have the logs with the error to help you? Also you do not need both olcCACertificatePath and olcCACertificateFile, for me the configuration with only olcCACertficatePath suffice. I do not know if it is the source of your error but you can try to delete one of them. | 0 | 0 | 797 | 2022-11-29T23:50:23.020 | api_errors | serverfault.com | |
894,050 | Why do I have a very high ARP traffic while running linux 4.10.13 with docker 17.09.0-ce? | I have a linux machine set up with docker that is running around 40 containers. I've noticed that the ssh connection feels really slow and all externally available services are laggy. On the machine looking at the output of [CODE] I noticed that I constantly have an [CODE] communication of 300-500K/s. This causes a ~1G... | Well, you could use [CODE] to see who send ARP requests. If problem on your host you should fix it, otherwise find who send ARP requests and ask machine to fix this issue. | 1 | 0 | 268 | 2018-01-25T10:45:39.980 | pipeline_ops | serverfault.com | |
170,391 | Network cables - make them or buy them | First of all, I must say I've never had a problems with making cables by myself, last years stopped using cable testers just because they always say the cable I've made is ok. But I see there's a lot of the factory-made cables on the market, they became cheap and in addition you may choose any color for the better mana... | Personally I would always buy cables and always do buy cables in large volumes. The reason for this is that unless you are making cables for home you are making cables for a business. It takes time to make cables and you are paying people/you are being paid by the organisation you are working for. Unless you are making... | 12 | 27 | 5,325 | 2010-08-13T22:39:39.470 | infrastructure | serverfault.com | |
148,927 | Can the mysql slow query log show milliseconds? | The mysql slow query log shows query time in whole integers. [CODE] There was a microsecond patch to allow mysql to be configured to log queries that take longer than X microseconds to run. But is there a way to have the log output the query time in either milliseconds or microseconds? | try this: Slow Query Log Extended Statistics | 2 | 1 | 1,950 | 2010-06-07T15:09:45.183 | database_errors | serverfault.com | |
121,828 | Questions about DBCC FREEPROCCACHE | I used spAskBrent for troubleshooting a SQL Server 2005 performance issue. I found the problem was someone had ran DBCC FREEPROCCACHE. It caused low performance (very low PLE) on my database and queries to time out. How can I find out who ran the query to free the plan cache? | You should be able to locate this within the [CODE] for SQL Server, if it is still enabled on the instance. One of the events captured is the [CODE] , can read more on the event here . If you find the default trace is enabled the following query from MSSQLTips.com article to find when DBCC were executed : [CODE] | 2 | 2 | 244 | 2015-11-23T07:50:08.903 | database_errors | dba.stackexchange.com | |
361,999 | Backing up SQL backups on a network share | Currently I have Maintenance Plans configured to backup SQL Server databases to local drives, then the files are picked up by Commvault nightly, and my SQL server maintenance plan deletes the backup files after they are a few weeks old. I don't like backing up SQL server to local drives, every once in awhile commvault ... | Don't know why you're having problems. This is the full backup dialog as part of a maintenance plan: Just put a UNC path into the 'folder' textbox under 'Create a backup file for every database'. Personally, I check 'Create a sub-directory' as well. Works perfectly for me. | 1 | 2 | 1,969 | 2012-02-20T22:27:30.603 | database_errors | serverfault.com | |
912,564 | crcmod installed, but gsutil shows "compiled crcmod: False" | I suspect this is something to do with the fact that I'm on CentOS 6.9 and have had to install SCL Python 2.7 so as not to interfere with the default Python 2.6 install. I've been through the steps at https://cloud.google.com/storage/docs/gsutil/addlhelp/CRC32CandInstallingcrcmod though, and didn't get any errors. [COD... | I was able to setup crcmod on CentOS 6 instance by using the following script: [CODE] --- script --- [CODE] ----- End of script ----- [CODE] | 2 | 1 | 2,443 | 2018-05-16T18:52:58.913 | infrastructure | serverfault.com | |
579,380 | Bounced mails not reaching postfix | I have postfix and dovecot installed on a Centos 6.4 production (www.bw.co.uk) machine. The intent is to send all system and transactional messages and collect bounces. The email id's that resulted in a bounce are then flagged to prevent site from sending further messages to these id's. I have the necessary SPF records... | Bounces will be returned to the relay system. You must arrange for it to forward the bounces back to your system for processing. It may be simpler to process the bounces on it than getting the bounces forwarded back to your system. Do use a specific sending email address of the form "donotreploy@example.com". It should... | 1 | 2 | 1,075 | 2014-03-03T03:28:22.510 | infrastructure | serverfault.com | |
951,465 | Migrate legacy PHP to PHP-FPM | I wonder if I could have some feedback from some people that did the migration from php to PHP-FPM. The issue I have is that I have lots of scripts on the service. Some written by customers and I cant modify them all. The reason I want to migrate to PHP-FPM is not particular about speed, but more because I was told tha... | I'm not familiar with Webtatic, if its possible to install both PHP version from them at the same time. I would switch to Remi's RPM repo ( https://rpms.remirepo.net/ ) . If you enable remi-php56 , and update install to php-fpm ( which will be php 5.6 ) . Same repo contains php70-php-fpm , php71-php-fpm or php72-php-fp... | 0 | 0 | 460 | 2019-01-30T10:03:51.510 | infrastructure | serverfault.com | |
782,533 | VMWare ESXi trying to connect to IP on different subnet | Our VMWare ESXi host is sending VMWare Server requests (port 902) every five or so seconds to a private IP address that is not in the subnet. For reference, the ESXi server is on a Class B address and it's trying to connect to a Class C address. I only discovered this after reviewing firewall traffic logs for another i... | An old config from a vcenter agent must still be there in the esxi, as please see the fact there : Required ports for VMware vCenter Server 5.5 (2051575) 902 TCP/UDP This is the default port used by the vCenter Server system to send data to managed hosts. Managed hosts also send a regular heartbeat over UDP port 902 to... | 2 | 4 | 1,337 | 2016-06-07T18:06:17.683 | infrastructure | serverfault.com | |
78,942 | Speed of MySQL type index access vs. binary jump search on a huge file? | I am dead set on moving over to a MySQL database for some huge data sets I'm working with but right now I don't have the time. In the meantime I am curious about a technical performance issue regarding speed between the two methods. Obviously binary jumping on a huge sorted file is a nasty hit to performance. The chanc... | Indexes tend to be much smaller than the table. If the whole index fits in memory, then there will be an average of 1 disk seek per random lookup. If not, there will generally be 2 disk seeks (once for the index, once into the table for your actual data). Keep in mind that a disk seek averages 1/200th of a second. If y... | 3 | 2 | 2,301 | 2011-05-25T00:14:12.323 | database_errors | softwareengineering.stackexchange.com | |
817,339 | What uses a docker container port? | While setting up my first [CODE] environment, I created a specific network: [CODE] I created a container from an image for this network with a specific IP: [CODE] I then started this container and got: [CODE] Indeed, it has [CODE] starting [CODE] which by default binds to all available IP addresses for that host . Sinc... | Don't publish the port if you want to connect locally. [CODE] You want to expose the port. https://docs.docker.com/engine/reference/builder/ test/DockerFile [CODE] [CODE] | 1 | 2 | 650 | 2016-11-27T18:10:45.737 | pipeline_ops | serverfault.com | |
65,397 | How to maintain accuracy with more classes? | I'm working on a CNN model (implemented by keras) that detects landmarks from images. Every landmark (for example Acropolis, Big Ben, Eiffel Tower etc) is as a separate class and is divided into own directory. The training dataset contains 1600 images, validation 400 images and test 500 images. The training process has... | There can be multiple explenations. But here are some: Images in train test and valid that are poor for some classes are not representative in train (poperties of these objects are not to be found hence you cant predict on something that you did not atleast partially learn on)- covariate shift You say adding data is pr... | 1 | 1 | 33 | 2019-12-25T09:40:50.820 | data_quality | datascience.stackexchange.com | |
530,465 | PXE Installation of XenServer 6.2 | I've added XenServer 6.2 to our PXE/TFTP server. Everything went fine, but I cannot install XenServer as is. We get the XCP version instead of XenServer 6.2. Is this supposed to be normal? Here are my configuration files: answerfile: [CODE] pxelinux.cfg/default: [CODE] Folder structure inside /srv/repos/xenserver: [COD... | I've found the solution. On the official Citrix Documentation ( http://docs.vmd.citrix.com/XenServer/4.0.1/installation/apc.html ) theres no mention about copying the XS-REPOSITORY-LIST to the path of local repository. In my case /srv/repos/xenserver. With this file in the correct place, everything was installed correc... | 1 | 2 | 1,437 | 2013-08-12T18:36:45.477 | infrastructure | serverfault.com | |
409,199 | How to call the process of filling missing data after a database upgrade? | My webapp is periodically collecting data samples (say of type A and B) from some web services. Its database has therefore columns for A and B. So we have values A1/B1, A2/B2 etc. Requirements have changed and now we want to also collect C. More code and more DB columns are added, so now we collect A3/B3/C3 etc. . But ... | Migration is perfectly fitting. From the application's perspective, the data that comes from the database yesterday had different expectations in the yesterday's code revision. Today, a new code revision gets deployed, and the new code expects the data to have a different format, or in your case, have data points for a... | -3 | 2 | 79 | 2020-04-23T08:29:18.997 | data_quality | softwareengineering.stackexchange.com | |
90,717 | Windows Mobile application deployment | Ho do you manage deployment of applications (including upgrades) accross your GPRS/EDGE/3G/whatever wireless Windows Mobile PDA/SmartPhones farm ? Up to now, I've always recommended Sparus Everywan manager but we've run into many problems at the last client site (~ 60 devices). I am therefore researching alternatives. | You take a look at the Sybase Afaria solutions, and especially the "Afaria Software Manager". | 0 | 1 | 115 | 2009-12-03T17:33:02.467 | pipeline_ops | serverfault.com | |
495,229 | Using 'which' command in cron job | I have a cron job that runs once a day on a Linux server and in the script it executes there is a test: [CODE] Every day when I check the logfile, the message [CODE] is in the log and as result the work has not been executed. If I run the [CODE] test in the shell everything works fine and when I execute the script ever... | At the top of your crontab file put SHELL and PATH declaration like: [CODE] See this SE post for more details. The default SHELL and PATH for cron are [CODE] , [CODE] (From [CODE] man page). | 4 | 8 | 947 | 2013-04-01T20:55:30.240 | infrastructure | serverfault.com | |
518,218 | What to look for when purchasing a power generator? | After an extended power failure that caused our UPS to run down and have issues coming back up once power was restored, I'm looking into getting a generator. What do I need to look at when specing a generator? I know I will have to calculate how much power is actually being used. I'm not sure how to factor in the UPS u... | First of you need to calculate Day 1 power requirements, and then future power requirements. So if your current Rack takes 30Amps at 120V now, but you might need 60Amps in the future, your Load would be around 7.2KW (this is a simplification as it isn't taking Power Factor into consideration). You will normally want to... | 6 | 2 | 154 | 2013-06-25T00:01:54.313 | database_errors | serverfault.com | |
19,941 | How long and what type of complexity would have been involved in Chris Sawyer writing most of rollercoaster tycoon in assembler? | From this question , I have another question about... How long and what type of complexity would have been involved in Chris Sawyer writing most of rollercoaster tycoon in assembler? In order to specify and break this question down, I am interested in; Approximately how many man hours (have a guess) do you estimate it ... | From reading his rough bio , it looks like two years (early 1997 to late 1998). Given that he seems to be a 'one project at a time' person and the tool set and timeframe isn't great for 'team development', I would assume a straight 24 programmer-months. At that point he had been a professional games programmer working ... | 16 | 13 | 8,015 | 2010-11-18T22:03:27.027 | api_errors | softwareengineering.stackexchange.com | |
706,384 | How to use Nginx to both rewrite and proxy_pass whilst keeping the user-entered URL | I'm a beginner Nginx user trying to proxy the following: [CODE] (not just /login - the site has other contexts too e.g. /static, /api, etc.) Whilst I can functionally make this work, the user sees [CODE] in their browser, which I'd like to avoid. That config looks like this: [CODE] To try to fix it, I've tried combinat... | You are specifying [CODE] as the hostname for this virtualhost. That means that this virtualhost isn't used for any requests that have a domain name, but your nginx default virtual server is used for requests for [CODE] . You need to change your [CODE] to [CODE] , or add [CODE] to the [CODE] directive on this [CODE] bl... | 2 | 1 | 4,064 | 2015-07-16T20:58:12.150 | infrastructure | serverfault.com | |
532,172 | Thunderbird not trusting certificate signed with self-signed authority | I have generated a self-signed certificate authority using mydomain.org as the common name. I imported the public certificate using Thunderbird's certificate manager under the "Authorities" tab. So far so good. Next, using this CA, I have generated (and signed) a certificate for mail.mydomain.org, but even though I imp... | In Mozilla Thunderbird, go to Tools → Options → Advanced → tab Certificates. Click on View Certificates and go to tab Servers. Click on Add Exception. Enter the name of your mail server and click on Get Certificate. Do not forget to use the port number of the mail server. Example: mail.provider.com:993 Save the excepti... | 7 | 3 | 21,912 | 2013-08-20T00:15:52.683 | infrastructure | serverfault.com | |
145,884 | AlwaysOn Async mode | I have forced manual failover AOAGs to BCP node.I tested my application and data is reflecting in tables very late.Is it expected behavior or I need to take care of anything permissions,firewall ports etc... One more thing, After forced failover I bought the databases online by resume data movement but Replicas shows s... | Latency on the asynchronous replica will be dependent on lots of factors, such as size of the transactions (index rebuilds could cause a huge amount of backlog), I/O, network, etc. If you want zero latency, then you'll need to use synchronous and not asynchronous, but be aware that this adds to the transaction time and... | 0 | 2 | 109 | 2016-08-04T13:14:27.103 | database_errors | dba.stackexchange.com | |
597,446 | cannot access srx220 router from browser | I can't access my SRX220 juniper router from any browser. It hangs for a long time and shows a message like No data Received. I can access it through cli prompt and can see the logs. All web management configurations are proper but still giving the above error. Observed in the messages log like Failed password for root... | Just router reboot from cli prompt fixed the issue. Issue may be related to DNS cache but not sure. ssh router-public-ip #cli #request system reboot | 0 | 0 | 203 | 2014-05-21T10:10:25.707 | infrastructure | serverfault.com | |
301,131 | Cant communicate from Docker container to Oracle server through IP SCAN | I am actually running a .Net Core app in a docker container that communicates with a Oracle Database. All runs well when I use the direct database server IP address in the connection string. Next step was to replace the IP address with the IP SCAN , locally it works, the problem comes when the container is deployed in ... | SCAN listeners act as load balancers, they forward the requests to the VIP addresses. Even if you use the IP address of the SCAN for connecting, it will forward your request to the VIP hostnames (which is the default behavior) and not the VIP addresses , unless configured otherwise at the database level. Your clients s... | 0 | 0 | 303 | 2021-10-14T15:12:32.680 | database_errors | dba.stackexchange.com | |
238,434 | SSL, nginx, and Drupal - A nightmare | I have installed an ssl certificate on my server, and read a whole lot and did all the different suggested things, but I cannot seem to get the $_SERVER['HTTPS'] variable to show up. Someone please help. Here's my config: Server: Linode Ubuntu 8.02LTS nginx - latest created a vhost: [CODE] The verification from digicer... | I didn't understand the last part of your question, you need what to show as in the [CODE] array? Anyway, SSL starts before any host exchange takes place so you can only have one HTTPS por IP address. Your config right now makes all requests to be handled by the default server. Take a look at this quick guide and it wi... | 0 | 0 | 351 | 2011-02-22T01:25:45.483 | api_errors | serverfault.com | |
611,520 | nxdomain - host not found | I have 2 domains in the same server(Linux). (The ip addresses are only examples) server: 192.168.1.20 domain1: server1.example.com domain2: server2.example.com [CODE] In my DNS server (bind), I have: [CODE] Now, externally some servers can't resolve server2.example.com address but can resolve server1. [CODE] When I use... | You only posted the reverse zone "1.168.192.in-addr.arpa.". It would be useful to check your "example.com" zone file and make sure the A record are present. Posting an extract from the zone file will help. Knowing the actual domain will help troubleshooting. You might have some good reason not to share it. Note: (sorry... | 2 | 2 | 38,480 | 2014-07-10T10:05:47.357 | infrastructure | serverfault.com | |
724,276 | Changing the Default Foreman URI | I have just installed the latest instance of foreman on a RHEL 7.1 VM. Now that it is installed the httpd configuration has changed so that the foreman URI is http(s)://(server)/. This has broken everything else running on the server such as nagios. I have tried changing the default foreman configuration to http(s)://(... | I have been able to find the answer to how to configure foreman to use http(s)://(server>/foreman. [CODE] Contains the option to dictate the URL that foreman will use. This file overrides the defaults for the installation process. overrides can be provided when running /usr/sbin/foreman-installer the override in questi... | 0 | 1 | 1,004 | 2015-09-23T13:17:36.207 | infrastructure | serverfault.com | |
122,593 | Designing a dimensional DB off a normalized source that already implements SCD's | I have built an SSIS ETL to integrate various data sources (one from MySQL, two from SQL Server) into a single SQL Server relational and normalized database, which I've called [NDS]. The SSIS ETL handles type-2 updates, and so the [NDS] generates surrogate keys and SCD tables include an [_EffectiveFrom] timestamp and a... | As you are seeing, one of the benefits of Kimball Dimensional Modeling is that the data warehouse design is essentially your SSAS design. While there are always exceptions, you can typically select a table in the DSV and immediately move to hierarchy design, cube relationships etc. I'd recommend moving to the DDS with ... | 6 | 3 | 378 | 2015-12-01T18:31:13.343 | warehouse_errors | dba.stackexchange.com | |
578,013 | Linux iptables drop traffic based on mac address | I'm doing some testing on my linux VM with one nic, I want to use it as some kind of a firewall which can block traffic of some clients based on a mac address. The client itself is having the VM as a default gateway (.254), the VM itself has (.1 the actual router) as default gateway. This is the iptable script that I'm... | You need to put these rules on the gateway .254, who is used by .14. If you need to block .14 at .1 gateway level, you need to ensure who the packets are being reaching with the mac address from .14, if the packets are being forwarded by .254 via NAT, then these packets will be repacked with .254 mac address. I recomme... | 2 | 0 | 23,760 | 2014-02-24T21:19:14.933 | infrastructure | serverfault.com | |
510,630 | Windows Server 2008 R2 - RAS SSTP - HTTP 503 Service is unavailable | I have a Windows Server 2008 R2 machine that has the following configuration: It's a domain controller It runs IIS and serves the Default Website with HTTP bindings [CODE] and [CODE] and with HTTPS bindings [CODE] and [CODE] . The HTTPS bindings use a widely trusted X.509 / SSL certificate from NameCheap for [CODE] . I... | As I was writing this question I thought I'd take another look at the Event Logs on the server and I saw a number of [CODE] and [CODE] events that I had previously overlooked. One Event had Event ID 36888: "The following fatal alert was generated: 10. The internal error state is 1203". Apparently code 1203 means "This ... | 0 | 1 | 2,033 | 2013-05-24T15:17:17.657 | api_errors | serverfault.com | |
57,906 | LSTM number of units for first layer | I'm trying to use LSTM (with Keras) for a time series problem. I would like predict the next value of the time series given its previous value. I'm using TimeseriesGenerator to create the training data as follows (setting length equal to 1 indicating the prediction is based on the previous value): [CODE] For the modeli... | [CODE] is the number of hidden units in each time-step of the LSTM cell's representation of your data- you can visualize this as a several-layer-deep fully connected sequence of layers in which each layer also has a connection to a memory across the layers,even though that a analogy isn't 100% perfect. [CODE] , then, i... | 1 | 1 | 1,688 | 2019-08-20T20:07:18.210 | data_quality | datascience.stackexchange.com | |
696,603 | Can I "flush and lock" an Oracle database to do a filesystem backup? | I'm using ZFS to take snapshots of running OpenVZ containers. For MySQL databases I can use [CODE] to put them in a flushed & locked state. This will put the underlying files in a consistent state and hold any incoming queries until I complete the snapshots, which take at most a couple seconds. Here is a sample script,... | There is "no way" how to stop Oracle working. Even backups are background non-blocking processes. Use RMAN for backups (which is recommenced). The other way would be to use very old-school approach. create standby controlfile for backup (it will create backup copy of Oracle's control file - having some old SCN in it) e... | 3 | 0 | 393 | 2015-06-04T12:48:19.743 | database_errors | serverfault.com | |
858,839 | Unable to get Stackdriver Trace information in Google Cloud Console | I have a few microservices running in Container Engine (GKE) and I'm trying to get trace information in Google Console, but something goes wrong. Here is my checklist: Stackdriver Trace API is enabled in API Manager. API Manager dashboard shows 99.98% error ratio. GKE has permissions: Stackdriver Trace: Write Only Stac... | You can look directly at the API reporting graphs to see that your calls to [CODE] fail with [CODE] errors. 403 Forbidden is caused when a request to a server is not authorized. Therefore, your calls from your Container Engine (GKE) cluster to 'cloudtrace.PatchTraces' are not authorized. This could be due to the limite... | 0 | 4 | 2,068 | 2017-07-01T02:09:59.877 | api_errors | serverfault.com | |
87,538 | Small 64-bit linux server distro with low memory footprint? | I am looking for a linux server distro with a low memory footprint. I usually use Ubuntu but I need something with a smaller footprint in order to run a large Java JVM service inside of it and also run X-windows. Any ideas? The Java service needs to handle a 3GB memory heap and so I require a 64-bit OS and JRE. http://... | ArchLinux turned out to be exactly what I was looking for as the answer to this question, although it turns out that I eventually ended up using 32-bit CentOS with Gnome also also considered XUbuntu with Xfce because it was fairly lightweight. | 5 | 1 | 16,951 | 2009-11-23T21:41:57.787 | infrastructure | serverfault.com | |
320,764 | PostgreSQL duplicate non-null values despite unique constraint | I have a database with a unique constraint in a field that is apparently being ignored. That table also includes two rows with the same value for that field, but somehow querying by that value only returns one row. [CODE] I'm totally confused, what on earth is going on here? How is this even possible? Is this DB totall... | That's a clear case of data corruption. Your index is broken, perhaps because you updated the C library . You will have to manually remove the duplicates, for example with [CODE] Once all duplicates are removed, [CODE] | 0 | 0 | 339 | 2022-12-09T11:05:49.640 | database_errors | dba.stackexchange.com | |
143,051 | Problem with a partitioning switch script | Working on some dynamic SQL to create a 13 month rolling partitioned table. See here for some background info . The dynamic SQL part is simple enough, and the first partition switches out without a problem. Unfortunately when I get to the second partition I start getting this error: [CODE] I'm sure it's something simpl... | @wBob got it in one. It's all about those NULLs. The following script creates the Destination table with a [CODE] modified column and it alters the same column on the TableName_Partition2 to be [CODE] after creation. This allows the [CODE] to run. [CODE] | 2 | 2 | 594 | 2016-07-05T22:09:36.110 | warehouse_errors | dba.stackexchange.com | |
336,308 | Message driven architecture and horizontal scaling | During working on a pet project in microservice event driven architecture, I've faced a problem of delivering responses to a client. Each microservice (API Gateway etc) has many replicas and has it's own loadbalancer (Kubernetes Service). Use case: 20 clients (JS App) sends "Register account request" 10 clients get con... | The way that you effectively load balance a Consumer in Kafka is that you register each of your client nodes/processes into a single Consumer Group. Consumers label themselves with a consumer group name, and each record published to a topic is delivered to one consumer instance within each subscribing consumer group. C... | 4 | 3 | 1,555 | 2016-11-18T12:18:46.467 | api_errors | softwareengineering.stackexchange.com | |
721,450 | Windows Authentication with IIS and mobile devices | I have an ASP.NET MVC 5 application that uses Exchange Web Services Managed API to query data from on premise Exchange and displays the data on an intranet site hostet in IIS 8.5 on Server 2012 R2. I use Windows Authentication to secure the site. The problem is that mobile devices (and their browsers) don't get login p... | It seems like my configuration was ok. As it turned out, Edge on Windows 10 Mobile does not yet support Windows Authentication (oh the irony) and the browsers on the Android Tablet also did not work with Windows Authentication. So it was pretty much a premature assumption from me. I hope this still helps someone. Solut... | 2 | 1 | 3,563 | 2015-09-10T12:05:38.893 | api_errors | serverfault.com | |
928,670 | nginx 12 FastCGI sent in stderr Primary script unknown | I am struggling for two days with my nginx configuration. I read a lot but could not find the right question. I got this from the error log: 2018/08/30 09:36:29 [error] 1525#1525: *12 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: admin.local, re... | I updated my admin.conf to: [CODE] this solved my problem. | 1 | 0 | 8,727 | 2018-08-30T08:39:20.497 | infrastructure | serverfault.com | |
561,242 | How to specify ErrorDocument for a VirtualHost in Apache2? | I have an Apache 2 server and it have several vhosts with similar definition: [CODE] I would like to customize page 404. The problem is that when I try to test 404 page in any of the hosts, I can see the page from the very last vhost. What could be wrong with my config? | Put ErrorDocument directives inside Directory tag. Trunk: https://httpd.apache.org/docs/trunk/custom-error.html 2.2: https://httpd.apache.org/docs/2.2/mod/core.html#errordocument Custom error documents are configured using the ErrorDocument directive, which may be used in global, virtualhost, or directory context. It m... | 2 | 2 | 17,969 | 2013-12-13T19:06:02.947 | infrastructure | serverfault.com | |
876,828 | Using Apache as a https reverse proxy to varnish | In debian jessie I'm trying to serve https with a varnish reverse proxy, and I found the following solution: http://davidbu.ch/mann/blog/2015-03-20/varnish-and-https-apache.html : apache manages ssl stuff on port 443, then passes to varnish on port 80, which passes to apache at port 8080. However, requesting [CODE] I g... | I wouldn't set a document root in a Virtual Host entry that will only be a used to proxy requests. Especially when you include an [CODE] directive tehre and [CODE] files can come into play. For debugging it may also help to define separate log files for each Virtual Host entry as well. [CODE] And you can debug by reque... | 0 | 0 | 2,626 | 2017-10-04T12:28:20.333 | infrastructure | serverfault.com | |
136,208 | Rails - to use STI or not...that is the question | Six months ago, I asked a question about modeling data for my app, and received some advice pointing me towards STI (see Rails data model - best practices question for the details). I played around with it, got it working somewhat, and then got distracted and put the project on hiatus. I just started developing it agai... | While permanently null fields and large unwieldy tables are conceptually ugly, they generally don't actually cause any real inefficiency. The extra space used by null fields is not an important consideration for most systems, and the query speed will not be slower if you set up your indexes well. And the benefits of ST... | 8 | 8 | 5,470 | 2012-02-21T22:42:04.853 | api_errors | softwareengineering.stackexchange.com | |
1,129,294 | Is chronyc preventing big jumps by itself? | I just realized that Windows server time (w32t service) has two default values limiting how much the offset of the time is allowed to be in negative and positive values. This value is huge by default and this allows for big time jumps if you dont correct the necessary regedit values. On Ubuntu Server, I use chronyc for... | I think I can conclude that as default, chronyc wont suffer from big jumps as is the case with default behaviour of the w32t service. https://chrony.tuxfamily.org/doc/3.1/chronyc.html "In normal operation, chronyd by default never steps the system clock, because any jump in the time can have adverse consequences for ce... | 0 | 0 | 159 | 2023-04-21T20:35:43.973 | infrastructure | serverfault.com | |
125,142 | Linux/bsd tcp load balancing with 10 gigabit ethernet | Okay, I've been looking at layer 4 load balancing solutions for 10 gigabit links. I need the following properties Works at 10Gig ethernet speeds. Can support long live tcp connections. up to 1mil live tcp connections. Balancer not involved in the return path. Fault tolerant with tcp session fail over. low latency and g... | F5 probably has the hardware you're looking for. Price might convince you that TCP session failover is going to drive your solution price up tremendously. Brocade ServerIron is an L4-L7 switch that I believe also handles TCP session failover. LVS does handle it, but, even having a load balancer pulled out, I've lost my... | 0 | 2 | 770 | 2010-03-22T22:46:53.573 | infrastructure | serverfault.com | |
238,176 | Why would Square inheriting from Rectangle be problematic if we override the SetWidth and SetHeight methods? | If a Square is a type of Rectangle, than why can't a Square inherit from a Rectangle? Or why is it a bad design? I have heard people say: If you made Square derive from Rectangle, then a Square should be usable anywhere you expect a rectangle What is the problem here? And why would Square be usable anywhere you expect ... | Basically we want things to behave sensibly. Consider the following problem: I am given a group of rectangles and I want to increase their area by 10%. So what I do is I set the length of the rectangle to 1.1 times what it was before. [CODE] Now in this case, all of my rectangles now have their length increased by 10%,... | 124 | 208 | 31,432 | 2014-05-07T05:21:32.350 | api_errors | softwareengineering.stackexchange.com | |
82,770 | Which is better: multi-output model or separate models for similar tasks? | I am working on two problems: classification of images into high-level classes (e.g. shoe, dress, jacket etc.) classification of the attributes of the same images on a lower level (e.g. shoe style, color of the dress etc.), assuming that the high level class is known Currently, I have designed an architecture for the 2... | If both the tasks consolidated classes set is small,using the multi-output network will be useful. But if your consolidated classes set is very large then I would suggest you go with different networks. Personally, I would prefer to train individual models as it is hard to optimize multi-output networks. | 1 | 0 | 133 | 2020-10-09T11:01:22.957 | data_quality | datascience.stackexchange.com | |
191,740 | file won't upload unless i change the file permission to 0777 on my server | i am unaware on the cons and pros of giving the directory permission to 0777, and i have left with no choice but to use the 0777 file permission to upload files on my server through my application. the following file permission works for me to upload file 0757 and 0557. this means i can upload the file with the world o... | There are two solutions here, either set the directory to be 0777 as suggested in the documentation, or change the owner of the directory to the user under which PHP runs. The latter would allow you to run with more restrictive permissions, but it may not actually get you any more security if PHP is running under a web... | 0 | 1 | 452 | 2010-10-16T07:17:35.730 | infrastructure | serverfault.com | |
161,732 | How do I allow access to a service running on a Forefront TMG Server? | I'm setting up Zabbix for monitoring on our network. So far everything is going well, the agent is installed on all the servers. All the servers except the Forefront one are communicating with the Zabbix server. I cannot connect to the the Forefront machine via Telnet on port 10050, which is what is needed for the Zabb... | You need to define the protocol settings as TCP 10050 Outbound : for TMG, that's an OUTGOING connection, from the source (Internal network) to the destination (Local Host). I know this can be misleading, but TMG (just like ISA Server) doesn't ever use "inbound" protocol definitions for access rules, only for publishing... | 1 | 1 | 5,658 | 2010-07-19T09:43:29.313 | pipeline_ops | serverfault.com | |
995,799 | Kubernetes CluterIssuer Challenge timeouts | Setup: DigitalOcean K8S Cluster w/ 2 nodes and 1 Ingress-NGINX LoadBalancer (no special configuration) I was wondering why certificate requests fail and found in the logs of the Challenge, that the self check GET request runs into timeout: [CODE] After looking closer the issue seems that when I try to make curl request... | You haven't missed anything during your setup. There is an issue reporting this behavior and it seams very similar to what you described. Unfortunately, the issue is still open so, there is no solution to this problem yet. The only possibility is to use you workaround changing [CODE] from [CODE] to [CODE] . | 1 | 0 | 809 | 2019-12-11T12:44:12.417 | pipeline_ops | serverfault.com | |
605,868 | Rammifications of maximum number of post request parameters | My team is undergoing a migration from Coldfusion 8 on Windows Server 2003 and IIS 6 to Coldfusion 10 on Windows Server 2008R2 and IIS 7.5. In our standard build for the CF10 servers, we've implemented a default value of 100 for the maximum number of POST request parameters. However, my customers are requesting limits ... | Consider that there was previously no limit. The reason for it now is to address a serious security issue that is relevant to all web programming languages, not just ColdFusion. It's possible that they have some large forms, which require a higher setting. Rather than picking some arbitrary value, ask them to look into... | 0 | 4 | 1,243 | 2014-06-17T20:54:22.040 | api_errors | serverfault.com | |
660,204 | Following CNAME alias causes different HTML rendering | I am running Windows Server 2012 with Apache and ColdFusion 11. In our DNS manager on our local domain, we have set up a CNAME alias that points to our reporting server. When you access the the server by it's non aliased name (e.g. myserver.example.com) it works fine. But when using the CNAME (reporting.example.com), t... | We figured it out. We had to add the alias name to the server's hosts file. | 1 | 0 | 89 | 2015-01-16T22:58:48.927 | infrastructure | serverfault.com | |
858,223 | Two A records while I switch servers? | I am frantically running from dreamhost and their horrible products - but this leaves me with a interesting situation: 1 Website is 'fully hosted' through their webpanel - this auto creates the 'A' record to their server - this points to the correct folder where the web files are at 2 New site has been tested and ready... | Change your nameservers to somewhere else, so that you can leave Dreamhost's settings like they are currently. Then change the A record on the new nameserver. | 0 | 1 | 34 | 2017-06-27T20:52:14.127 | infrastructure | serverfault.com | |
594,827 | Accessing internal network addresses remotely through squid proxy on debian | My objective is to allow clients over the internet to connect to a squid proxy server, provide a username and password, and then access several http servers on the internal network that the server is part of, by using IP addresses like 192.168.11.152. Currently, access to these servers is handled via a mess of NAT port... | There is an excellent alternative if your users have SSH access to the network. Using e.g. [CODE] they open a SOCKS proxy port on their respective local machine. They can then proceed to access any destination on the local net of the SSH server via this SOCKS proxy. This can be made especially handy using Firefox with ... | 1 | 2 | 2,330 | 2014-05-13T15:48:44.400 | infrastructure | serverfault.com | |
35,152 | Does MYSQL join before LIMIT? | Imagine that I want to populate the last 10 questions of stackoverflow. I have a table that keep the questions list, a table to keep the question info, a table to list question's asker. Now imagine that I want to get the last ten questions, so I have to join some tables and get the last items by [CODE] . This gets me t... | The only way around it is to refactor the query so as to alter the order of the EXPLAIN plan. EXAMPLE : On May 16, 2011, I once answered a very rough question on StackOverflow Fetching a Single Row from Join Table Question : I had to join tables together and return only the 40 most recent results . My Answer : I proved... | 1 | 3 | 5,612 | 2013-02-21T11:40:49.033 | database_errors | dba.stackexchange.com | |
237,131 | Domain with www pointing to another site | Recently I started Multi Sites on my VPS, which is running Centos 64 bit. Currently I have two sites live and each is working fine. Now the problem is in the URL. I have the following sites: [CODE] mbas was the very first site on my VPS Now both [CODE] and [CODE] redirect to my mbas website. However, while [CODE] redir... | Add ServerAlias(The ServerAlias directive sets the alternate names for a host, for use with name-based virtual hosts): [CODE] then reload apache2. | 1 | 2 | 73 | 2011-02-18T06:16:08.070 | infrastructure | serverfault.com | |
703,024 | Problems with NSClient and .Net modules | I've been trying to find some examples or documentation for writing .Net plugins for NSClient++ . Can someone direct me to a working sample application or some documentation? I found the source code for the CSharpSamplePlugin on GitHub. Since I don't use CMake, I made a new VS2013 project and added the three DLL's refe... | Currently "master" is undergoing refactoring so currently sample will not build. If you use 0.4.3 branch it should work fine. I expect master to become stable in the next week or so (my vacation starts now so I hope to have time to finish things off). The code has been refactored and most modules are working again but ... | 0 | 2 | 396 | 2015-07-02T06:40:50.827 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.